Some users may find that after installing the Windows Mobile 5.0 SDKs, although no errors were reported, they just don’t show up in the Visual Studio 2005 create project dialog. The reason for this is that sometimes the install script which runs near the end of setup gets blocked by anti-spyware or anti-virus software sometimes without even prompting the user.
The workaround is quite simple, you just need to locate the script and run it from the command line. Locate the folder where you installed the SDK and the Install_files subfolder. Then run the script passing the full path to the SDK and 0 (to install, if you wanted to manually remove you would pass 1). For example if you installed to the default location you’ll need something like this:-
install_script “C:Program FilesWindows CE Toolswce500Windows Mobile 5.0 Pocket PC SDK” 0
9 replies on “Manually run Windows Mobile 5.0 SDK script”
This would have been a golden tip two weeks ago. 🙂 Please explain how yow did arrive at this ‘simple’ solution? A little bird told you about it?
No, I have a test machine which I’ve had several beta versions of VS2005 and the SDK on and the release version just wouldn’t fully install properly. So I dug around and read the install script which describes the expected arguments in the comments, so I ran it with no particular expectation of it curing the problem and lo and behold it worked 🙂
Peter
Looks like this thing it still not showing project type. Could you please tell me under wnat type it shows up or what kind. As my number of types of project is same as before.
It may vary depending on how you setup VS – which language you have set as your default, but in the treeview on the new project dialog it appears under
Visual C# > Smart Device > Pocket PC Magneto
Which actually doesn’t look right as that should be Pocket PC 5.0 for the RTM version. I really need to clean up this machine 🙂
Note it should also show up under Visual Basic > Smart Devices > Pocket PC Magneto (or near equivalent)
Of course. Maybe there is a market for this: MSI Reflector.
Bless you. I was ready to commit suicide before I found this. Worked great.
Where do you find that install_script? I don’t see it anywhere.
Oh, I see that it’s in the C:Program FilesWindows CE Toolswce500Windows Mobile 5.0 Pocket PC SDKInstall_files directory.
I’m using Vista Beta 2, and VS2005 is installed, but after running the script it still doesn’t show up. *sigh*
Thanks anyway.