Found this little tidbit here. I’ve been playing around with the CabwizSP.exe and the .inf file for the whole night. Some quick points to note:
- The Build Cab File button in VS.NET is not working for Smartphone development coz it’s pointing to Cabwiz.exe but we have to use CabwizSP.exe instead.
- Although it’s not working, we can still press the button coz it’ll help us the generate BuildCab.bat and AppName_SMP.inf
- Manually change BuildCab.bat so that it points to “C:Program FilesWindows CE Toolswce420SMARTPHONE 2003Toolscabwizsp.exe”.
- Manually amend the .inf file and cut away all the ARMV4 and X86 sections, and amend the shortcuts as we like.
- Run BuildCab.bat from command line, it’ll generate 2 .cab files in the cabdebug directory. I just chose one of them and ftp to my server.
- On a Smartphone or Smartphone emulator, use IE to access the cab file on the web server. It’ll start downloading and install the app.
- We can remove the app using the Remove Program option in the Start Menu.
