Presentation is loading. Please wait.

Presentation is loading. Please wait.

MBL490 Deploying Applications to Smartphone and Microsoft® Powered Pocket PC Marcus Perryman Consultant.

Similar presentations


Presentation on theme: "MBL490 Deploying Applications to Smartphone and Microsoft® Powered Pocket PC Marcus Perryman Consultant."— Presentation transcript:

1 MBL490 Deploying Applications to Smartphone and Microsoft® Powered Pocket PC Marcus Perryman Consultant

2 Agenda eVC auto deployment CAB files – your deployment friend Getting the CAB to the device Via WEB, MAIL Desktop Installer Using removable media Autorun.exe Provisioning multiple devices Smartphone 2002 provisioning

3 EVC Deployment During development – what happens? Embedded Visual C++ 3.0 (Pocket PC 2002) and 4.0 (Pocket PC 2003) Exe’s are deployed to “\windows\start menu” or “\” COM DLL’s are registered automatically Visual Studio.NET 2003 Deployed to “\Program files\ ” Auto deploy and install of the Compact Framework (if required) Duplicate through RAPI Remote API – requires Active Sync CeRapiInit / CeRapiInitEx CeCreateFile + CeWriteFile CeCloseHandle CeRapiUninit DEMO

4 Desktop Device C++, H and lib modules eVC Compiler Controls and Com Objects ActiveSync Platform ManagerPlatform Manager (CEMGRC.EXE) ?.exe ?.dll ?.exe ?.dll Coredll.dll CEMON CE Shared/ 3 rd party Libs

5 Desktop Device.cs,.vb files VS.NET Compiler Controls and Runtime ActiveSync Connection ManagerConnection Manager (CONMGR.EXE) ?.exe ?.dll ?.exe ?.dll Mscoree.dll ConManClient CE

6 CAB files – your deployment friend What is a CABinet file? Default uninstall provided for free (Logo requirement) Building CAB files INF file Setting Registry strings Using File Groups Install strings Pre and Post install dll WCELoad and its parameters /Delete [0|1|2] default to 2 Defaults at “HKLM\Software\Apps\Microsoft Application Installer” DEMO

7 Getting the CAB to the device For the Pocket PC Pocket IE supports file download WCELoad run automatically through file association Security can be provided by HTTPS Processor type issues! Deployment as Mail attachment Mark for download may be required Processor type issues!

8 Getting the CAB to the device (cont) Using Active Sync File transfer – too complicated for users. Using Application Manager HKLM\Software\microsoft\windows\currentversion\ app paths\ceappmgr.exe Building the INI file Putting it all together: Visual Studio Installer http://msdn.microsoft.com/vstudio/downloads/tools/vsi11/default.asp InstallShield DEMO

9 Using removable media Autorun.exe \2577\autorun.exe On media insert check for Autorun.exe Copy to \windows Execute in \windows On media removal Execute in \windows DEMO

10 Internal “Removable” Media Pocket PC internal Storage card 32MB Rom space for most 2002 devices 8 MB free for Internal Storage card Treated the same as removable \2577\Autorun.exe Executed on soft and hard reset DEMO

11 Provisioning multiple devices How to update a whole work force? Mail Web 3 rd Party: http://www.extendedsystems.com/ESI/default.htm Custom solution Today add-in timer based web service check Connection type? Active Sync, TCPIP, dial-up Custom Active Sync filter During synchronization, check central server location (web service), download and apply any changes.

12 Smartphone 2002 provisioning Security model for Smartphone Certificate store, roles and policies Operators choice: Applications need to be signed CAB files need to be signed Privileged vs unprivileged execution Can still use: Active Sync, Web, Mail, removable media Also get access to SMS, WAP deployment Mobile2Market Common root certificates Logo tests and web publication build into the program DEMO

13 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.

14 Community Resources http://www.microsoft.com/communities/default.mspx Most Valuable Professional (MVP) http://www.mvp.support.microsoft.com/ Newsgroups Converse online with Microsoft Newsgroups, including Worldwide http://www.microsoft.com/communities/newsgroups/default.mspx User Groups Meet and learn with your peers http://www.microsoft.com/communities/usergroups/default.mspx

15 evaluations evaluations

16 © 2003 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS OR IMPLIED, IN THIS SUMMARY.


Download ppt "MBL490 Deploying Applications to Smartphone and Microsoft® Powered Pocket PC Marcus Perryman Consultant."

Similar presentations


Ads by Google