CCProg
03-17-2006, 12:23 AM
I am trying to create an app for a WM5 smartphone. I have the app created, I've added a Smart Device Cab project, a Windows Class Library with a Custom Installer class and a Setup Project to my solution. Following a combination of the steps outlined here (http://www.codeproject.com/netcf/PackagingAndDeployingPPC.asp?df=100&forumid=38007&exp=0) and here (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnetcomp/html/netcfdepl.asp). I have attempted to get my application on the emulator. The code compiles, the .msi file installs the application (and .NETCF2.0 when necessary) and everything seems great...until I look at the emulator and try to find the application.
I can see the application if I go to the remove programs option on the emulator, but there is not Start Menu shortcut. So I kept looking and found this info (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnppcgen/html/sp_2003_app_deploy_demyst.asp). OK, so now I know I have to edit my .inf file. So, I added a line item under the "[Shortcuts]" in the .inf as explained in the link. Then, since I knew the .cab wasn't updated with this information I ran the cabwiz.exe as described here (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wcepb40/html/cxconcabwizardsyntax.asp). So, now armed with my new .inf and corresponding new .cab I rebuilt the setup project and tried installing with the .msi file again. SAME RESULT.
If anyone can explain to me how to add a shortcut to the start menu of a smartphone using Visual Studio 2005 and .NET CF 2.0 and the built in Windows Mobile 5.0 Smartphone emulator I would really appreciate it.
Thanks - Lee[/url]
I can see the application if I go to the remove programs option on the emulator, but there is not Start Menu shortcut. So I kept looking and found this info (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnppcgen/html/sp_2003_app_deploy_demyst.asp). OK, so now I know I have to edit my .inf file. So, I added a line item under the "[Shortcuts]" in the .inf as explained in the link. Then, since I knew the .cab wasn't updated with this information I ran the cabwiz.exe as described here (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wcepb40/html/cxconcabwizardsyntax.asp). So, now armed with my new .inf and corresponding new .cab I rebuilt the setup project and tried installing with the .msi file again. SAME RESULT.
If anyone can explain to me how to add a shortcut to the start menu of a smartphone using Visual Studio 2005 and .NET CF 2.0 and the built in Windows Mobile 5.0 Smartphone emulator I would really appreciate it.
Thanks - Lee[/url]