# Sunday, August 07, 2005

Manually run Windows Mobile 5.0 SDK script

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 Files\Windows CE Tools\wce500\Windows Mobile 5.0 Pocket PC SDK\" 0

Monday, August 08, 2005 6:50:10 PM (GMT Standard Time, UTC+00:00)
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?
Saturday, August 13, 2005 3:00:32 PM (GMT Standard Time, UTC+00:00)
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
Saturday, August 13, 2005 5:19:11 PM (GMT Standard Time, UTC+00:00)
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.
latesh
Saturday, August 13, 2005 7:29:23 PM (GMT Standard Time, UTC+00:00)
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 :)
Tuesday, August 16, 2005 10:10:34 AM (GMT Standard Time, UTC+00:00)
Note it should also show up under Visual Basic > Smart Devices > Pocket PC Magneto (or near equivalent)
Tuesday, August 16, 2005 6:51:11 PM (GMT Standard Time, UTC+00:00)
Of course. Maybe there is a market for this: MSI Reflector.
Friday, March 03, 2006 5:09:31 PM (GMT Standard Time, UTC+00:00)
Bless you. I was ready to commit suicide before I found this. Worked great.
Thursday, June 01, 2006 8:35:48 PM (GMT Standard Time, UTC+00:00)
Where do you find that install_script? I don't see it anywhere.
Thursday, June 01, 2006 8:44:54 PM (GMT Standard Time, UTC+00:00)
Oh, I see that it's in the C:\Program Files\Windows CE Tools\wce500\Windows Mobile 5.0 Pocket PC SDK\Install_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.
Comments are closed.