the slides for this event will be posted at:
DESCRIPTION
The slides for this event will be posted at:. www.microsoft.com/uk/msdn/postevents. Windows Mobile Application Deployment. Marcus Perryman [email protected] http://blogs.msdn.com/marcpe. Agenda. Automatic application deployment CAB files: your deployment friend - PowerPoint PPT PresentationTRANSCRIPT
![Page 1: The slides for this event will be posted at:](https://reader036.vdocuments.us/reader036/viewer/2022070411/5681488c550346895db5a3b3/html5/thumbnails/1.jpg)
The slides for this eventwill be posted at:
www.microsoft.com/uk/msdn/postevents
![Page 3: The slides for this event will be posted at:](https://reader036.vdocuments.us/reader036/viewer/2022070411/5681488c550346895db5a3b3/html5/thumbnails/3.jpg)
Agenda
Automatic application deploymentCAB files: your deployment friendGetting the CAB to the device
Via WEB, MAIL
Desktop Installer
Using removable mediaAutorun.exe
Provisioning multiple devicesSecurity
![Page 4: The slides for this event will be posted at:](https://reader036.vdocuments.us/reader036/viewer/2022070411/5681488c550346895db5a3b3/html5/thumbnails/4.jpg)
Auto Application Deployment
During development – what happens?Exe’s are deployed to \Program Files\<APP>
ATL DLL’s are registered
Duplicate through RAPIRemote API – requires Active Sync
CeRapiInit / CeRapiInitEx
CeCreateFile + CeWriteFile
CeCloseHandle
CeRapiUninit
Managed wrapper:OpenNETCF.Desktop.Communication
![Page 5: The slides for this event will be posted at:](https://reader036.vdocuments.us/reader036/viewer/2022070411/5681488c550346895db5a3b3/html5/thumbnails/5.jpg)
Desktop DeviceC++, H and lib modules
eVC Compiler
Controls and Com Objects
ActiveSync
Platform Manager Platform Manager (CEMGRC.EXE)
?.exe?.dll
?.exe?.dll
Coredll.dll
CEMON
CE
Shared/ 3rd party Libs
![Page 6: The slides for this event will be posted at:](https://reader036.vdocuments.us/reader036/viewer/2022070411/5681488c550346895db5a3b3/html5/thumbnails/6.jpg)
demoRemote API
![Page 7: The slides for this event will be posted at:](https://reader036.vdocuments.us/reader036/viewer/2022070411/5681488c550346895db5a3b3/html5/thumbnails/7.jpg)
CAB Files Your Deployment Friend
What is a CABinet file?Default uninstall provided for free (Logo requirement)
Building CAB filesINF fileSetting Registry stringsUsing File GroupsInstall strings
Pre and Post install dllWCELoad and its parameters
/Delete [0|1|2] default to 2/askdest/noaskdest/nouiDefaults at “HKLM\Software\Apps\Microsoft Application Installer”
![Page 8: The slides for this event will be posted at:](https://reader036.vdocuments.us/reader036/viewer/2022070411/5681488c550346895db5a3b3/html5/thumbnails/8.jpg)
demoCAB files
![Page 9: The slides for this event will be posted at:](https://reader036.vdocuments.us/reader036/viewer/2022070411/5681488c550346895db5a3b3/html5/thumbnails/9.jpg)
Getting the CAB to the device
Pocket IE supports file downloadWCELoad run automatically through file associationSecurity can be provided by HTTPSProcessor type issues!
Deployment as Mail attachmentMark for download may be required (User option)Processor type issues!
Smartphone supports compressed CAB
![Page 10: The slides for this event will be posted at:](https://reader036.vdocuments.us/reader036/viewer/2022070411/5681488c550346895db5a3b3/html5/thumbnails/10.jpg)
Getting the CAB to the device (2)
Using Active SyncFile transfer – too complicated for users.Application Manager
HKLM\Software\microsoft\windows\currentversion\
app paths\ceappmgr.exe
Building the INI filePutting it all together:
Visual Studio Installerhttp://msdn.microsoft.com/vstudio/downloads/tools/
vsi11/
InstallShield + others for packaged install
![Page 11: The slides for this event will be posted at:](https://reader036.vdocuments.us/reader036/viewer/2022070411/5681488c550346895db5a3b3/html5/thumbnails/11.jpg)
demoPutting it all together
![Page 12: The slides for this event will be posted at:](https://reader036.vdocuments.us/reader036/viewer/2022070411/5681488c550346895db5a3b3/html5/thumbnails/12.jpg)
Using removable media
Autorun.exe
\2577\autorun.exeOn media insert check for Autorun.exeCopy to \windowsExecute in \windowsOn media removal Execute in \windows
![Page 13: The slides for this event will be posted at:](https://reader036.vdocuments.us/reader036/viewer/2022070411/5681488c550346895db5a3b3/html5/thumbnails/13.jpg)
demoUsing Autorun.exe
![Page 14: The slides for this event will be posted at:](https://reader036.vdocuments.us/reader036/viewer/2022070411/5681488c550346895db5a3b3/html5/thumbnails/14.jpg)
Internal “Removable” Media
Pocket PC internal Storage card32+ MB Rom space for most devicesOften some free for Internal Storage cardTreated the same as removable
\2577\Autorun.exe
Executed on soft and hard reset
![Page 15: The slides for this event will be posted at:](https://reader036.vdocuments.us/reader036/viewer/2022070411/5681488c550346895db5a3b3/html5/thumbnails/15.jpg)
demoDon’t try this at home!
![Page 16: The slides for this event will be posted at:](https://reader036.vdocuments.us/reader036/viewer/2022070411/5681488c550346895db5a3b3/html5/thumbnails/16.jpg)
Provisioning multiple devices
![Page 17: The slides for this event will be posted at:](https://reader036.vdocuments.us/reader036/viewer/2022070411/5681488c550346895db5a3b3/html5/thumbnails/17.jpg)
SMS 2003 Device Management Feature Pack
FunctionalityHardware / Software inventory Software distribution via CABSettings / Password management (Windows Mobile only) Automated DM client deployment from SMS desktop
PlatformsPocketPC (Phone Edition) 2002 and aboveWindows CE 3.0 and above
ScenariosEnterprise hosted management infrastructure for mobile devices
http://www.microsoft.com/smserver/downloads/ 2003/dmfp.asp
![Page 18: The slides for this event will be posted at:](https://reader036.vdocuments.us/reader036/viewer/2022070411/5681488c550346895db5a3b3/html5/thumbnails/18.jpg)
SMS 2003 DMFP Client Installation and ConfigurationOptions for installing
management clientA) Client built-in via CE 5.0 PlatformBuilder
B) CAB install via Active Sync or network
Client CAB
Options for registering with Device Management Point
A) Type DMP name in Device Management program
B) Run registry configuration file on the device at install time
C) Distribute configuration file via SMS client distribution
C) CAB install from memory card
D) CAB install via SMS clientdistribution
Install client Register with DMP
![Page 19: The slides for this event will be posted at:](https://reader036.vdocuments.us/reader036/viewer/2022070411/5681488c550346895db5a3b3/html5/thumbnails/19.jpg)
Provisioning multiple devicesRole your own: Web or Mail delivery.
ClickOnce?Application detection on start-up.Today add-in timer based web service check
Connection type? Active Sync, TCPIP, dial-up
Custom Active Sync filterDuring synchronization, check central server location (web service), download and apply any changes.
![Page 20: The slides for this event will be posted at:](https://reader036.vdocuments.us/reader036/viewer/2022070411/5681488c550346895db5a3b3/html5/thumbnails/20.jpg)
Security
Smartphone today requires signing:Application and DLL components, managed and native.Install DLL, CAB file, Autorun.exeVia Mail, Web or SMS 2003
Pocket PC v.Next with 1 tier security
![Page 21: The slides for this event will be posted at:](https://reader036.vdocuments.us/reader036/viewer/2022070411/5681488c550346895db5a3b3/html5/thumbnails/21.jpg)
Device Security PolicyResolved Code ID
Unsigned Signed PRIV Signed
Oper. Signed
Blocked
Prompt/ Normal
Run/ Normal
Cod
e G
roup
Trusted
Locked Device: Block allOnly operator appsOriginal Orange
Closed Device: Run signed only
Prompt (default): Run w/ promptsEmulator
Open Device: Run everything TrustedAT&T WS
![Page 22: The slides for this event will be posted at:](https://reader036.vdocuments.us/reader036/viewer/2022070411/5681488c550346895db5a3b3/html5/thumbnails/22.jpg)
Summary
CAB files are your flexible friend for deployment, Install and Uninstall on the Pocket PC
There are many ways to apply CAB’s to the device – choose the appropriate solution for your application.
Smartphone security model may effect your development cycle. Even more ways to deploy to the device with GSM technologies.
![Page 23: The slides for this event will be posted at:](https://reader036.vdocuments.us/reader036/viewer/2022070411/5681488c550346895db5a3b3/html5/thumbnails/23.jpg)
MSDN ConnectionGet personalised info and a customised RSS feed
The programming language(s) you’re interested in
The technology area(s) you’re interested in
The information you want
View news, technical resources, events, webcasts and community information
Sign up for MSDN Connection at:http://www.microsoft.com/uk/msdn
![Page 24: The slides for this event will be posted at:](https://reader036.vdocuments.us/reader036/viewer/2022070411/5681488c550346895db5a3b3/html5/thumbnails/24.jpg)
Additional Information
Post Events SiteAll information on past events, slide decks etc
http://www.microsoft.com/uk/msdn/postevents
The UK MSDN Site & FlashLocal news, events, webcasts
http://www.microsoft.com/uk/msdn
Register to received the bi-weekly MSDN Flash by emailhttp://www.microsoft.com/uk/msdn/flash.aspx
Try Visual Studiohttp://www.microsoft.com/vstudio/tryit
Take a look at the Express productshttp://msdn.microsoft.com/express
GotDotNet and ASP.NET – lots of excellent resources
http://www.gotdotnet.comhttp://www.asp.net
![Page 25: The slides for this event will be posted at:](https://reader036.vdocuments.us/reader036/viewer/2022070411/5681488c550346895db5a3b3/html5/thumbnails/25.jpg)
![Page 26: The slides for this event will be posted at:](https://reader036.vdocuments.us/reader036/viewer/2022070411/5681488c550346895db5a3b3/html5/thumbnails/26.jpg)
The slides for this eventwill be posted at:
www.microsoft.com/uk/msdn/postevents