Deployment
Hi,
I would like to deploy my VS 2005 CF2.0 Pocket PC application but I don't know how.
I found a good article called "Developing and Deploying Pocket PC Setup Applications" athttp://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnppcgen/html/netcfdeployment.asp which decribes how to deploy VS2003 Pocket PC applications but I'm struggling to apply it to VS2005. One issue is VS2005 seems to be missing "Build Cab File" on the Build menu.
Please could someone point me in the right direction.
Thanks in advance.
Craig Harrison
Craig,
We have a new project in Visual Studio 2005 specifically for building cab files. It's far more powerful than the old "Build Cab File" option.
1) Add a new project to your solution, and look under Other Project Types > Setup and Deployment > Smart Device CAB Project.
2) Right click on the Application Folder, select Add > Project Output
3) In the resulting dialog pick your main project and "Primary Output" and say ok
4) Right click on the cab project in solution explorer and select build
There's a lot of power in the odd-looking UI for the cab project. Right click on various folders and windows to see what's available. Also don't forget to go to the View > Editor > Registry to add registry entries.
Note that the cab will not automatically build when you do an F5 or Build All from the build menu. You can edit your solution configuration to turn it on for builds if you want. Otherwise, just right click on it in solution explorer whenever you want a new build of the cab.
Hope this helps,
Neil
Hi Neil,
Thank you for your reply. I've followed your instructions and I've managed to build a .Cab and .Inf file for my application. I just have a couple more questions.
1. How do I get a shortcut for my app to appear in 'Programs' after it's installed?
2. Is it possible to fire off the install from my desktop PC via 'WinCE Application Manager'?
Thanks again.
Craig.