About Me

My photo
Dhaka, Bangladesh
I am B.S.C Engineer,CSE,SUST and Ex-Cadet of Mirzapur Cadet College.

Tuesday, February 17, 2009

CAB(installer) for Windows Mobile

CAB file is the installer file for windows mobile application.If you want to release a windows mobile application/Games, you have to create a CAB(Installer) for windows mobile.

You can create a CAB file manually from command prompt, which is a bit complicated. So, You can do it in a lot easier manner. I am describing it step by step.

1. First Build your project in release mode.
2. Create a new solution(Smart Device CAB Project) under the same solution.
3. Right Click on the newly created solution and add project output. You will find the project name that you a window built earlier, select primary output and click OK.
4. Right click on File System on Target Machine - Add Special Folder - Programs Folder.
5. And now, select Programs Folder on the File System tree, and right click on the empty panel at right and select Create New Shortcut and And select Application Folder - Primary output from AppName (Active) and press OK.
6. Press the Registry Editor button And add the string value "HKLM\Software\Mobile Practices\AppName\Version". You need to create the path key by key, and the add the string value on the right panel.
7. Build the total solution and you will get the cab file in debug/release folder

Reference:

http://www.mobilepractices.com/2008/02/how-to-create-windows-mobile-smart.html

No comments: