Windows XP compatibility

Nov 23, 2011 at 12:43 AM

Is this tool supposed to run on Windows XP?
I have  XP SP3, .NET 4.0, VS 2010  and WP Dev Tools installed and Zune, no WP SDK.
when I clicked on .application it loads and creates a folder with files in user profiles folder, but when  WindowsPhonePowerTools.exe is run
no GUI window is shown, but I see process running in task Manager.

Can somebody help to make it work?

Coordinator
Nov 23, 2011 at 12:53 AM

Looks like you're the first user to try to run this on Windows XP! Unfortunately XP is somewhat legacy so might not support some of the WPF features that we're using for the UI. I'll try to find a copy of Windows XP and install it on a VM  to repro and track down the issue.

Thanks!

(I also saw your email, but you submitted here, so might as well answer publicly :) )

Nov 23, 2011 at 4:16 PM

Thanks

Let me know if you need any debug information.

I know there is a competing product to access Isolated Storage

Windows Phone Device Manager,

http://forum.touchxperience.com/viewtopic.php?f=30&t=783

but it requires Vista/Windows 7

Coordinator
Nov 27, 2011 at 7:34 PM

So, I got XP running in a VM, installed VS (which was a pain) only to discover that I should have read the manual :)

http://msdn.microsoft.com/en-us/library/ff402530(v=vs.92).aspx

Windows XP is not a supported development environment for Windows Phone, so the SDK is not supported on it. I then decided to modify the installer to allow for Windows XP, which complained about VS 2010 SP1, again, manual reading would have been nice!

I'm downloading the 1.5gb install that is SP1 and will leave it installing when it completes (for some reason SP1 can sometimes take half a day to install) and then report back.

Nov 27, 2011 at 10:07 PM

I have WP7 dev tools installed on Windows XP

following this

http://social.msdn.microsoft.com/Forums/en-US/windowsphone7series/thread/bd63b265-50d9-4d36-9508-716759919ee0

  1. Download the Windows Phone Developer Tools CTP Refresh
  2. Extract the contents of the setup package by running vm_web.exe /x and choosing a path to extract to
  3. Go to the folder you extracted to in step 2 and open the file baseline.dat in notepad
  4. Look for the section named [gencomp7788]
  5. Change the value InstallOnLHS from 1 to 0
  6. Change the value InstallOnWinXP from 1 to 0
  7. Save and close baseline.dat
  8. Run setup.exe /web from the folder you extracted to in step 2

At least Application deployment program works fine.

Coordinator
Nov 27, 2011 at 10:13 PM

As I said, I modified the installer, similar to the above. That's not the issue, the issue is more that because it is not a supported scenario Windows XP support is not pri0...

Coordinator
Nov 27, 2011 at 10:56 PM

Ok, so I have everything installed.

The process launches and then crashes immediately - there is no way it is staying open, I'm accessing Win32 functions (SHGetStockIconInfo) that only exist in Vista and newer. I'll look around to see how minimal it would be to add Windows XP support, though no promises.

Coordinator
Nov 27, 2011 at 11:11 PM

Ok, 1.4.9 should do the trick :)

Let me know if you run into any issues!

Dec 3, 2011 at 11:35 AM
nachmore wrote:

Ok, 1.4.9 should do the trick :)

Let me know if you run into any issues!

Wow! Thanks a lot! Will try it asap!

Coordinator
Dec 6, 2011 at 2:22 AM

Would love to hear some feedback about whether or not this is working correctly on Windows XP.

Thanks!

Dec 6, 2011 at 4:07 AM
Edited Dec 6, 2011 at 4:08 AM

Zune is launched.

WP7Tools  runs but clicking on file browser gives this error

http://img42.imageshack.us/img42/5937/wp7toolsfilebrowsingerr.jpg

Coordinator
Dec 6, 2011 at 5:30 AM

Do you have the latest SDK installed (the RTM Mango tools)? I've seen this a few times with people that have had the beta installed.

Dec 6, 2011 at 5:42 AM

I have Developer tools from here:

http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=13890


The Windows Phone Developer Tools includes the following

  • Visual Studio 2010 Express for Windows Phone
  • Windows Phone Emulator Resources
  • Silverlight 4 Tools For Visual Studio
  • XNA Game Studio 4.0
  • Microsoft Expression Blend for Windows Phone

Do I need full SDK?

Is it possible to make installation of your software easier, without going through browser and .application file?

Coordinator
Dec 6, 2011 at 5:50 AM

Those are the WP7 tools, which this tool is not compatible with (since the capabilities didn't exist with the original toolset). You need to install the Mango tools (7.1) from http://www.microsoft.com/download/en/details.aspx?id=27570 to be able to use this tool (which is what the error message is saying, your SDK is too old and is missing some of the required APIs to run this tool.

As for installation, you should only have to go through the browser once, after that the application will automatically update whenever you launch it (if there is an update available and you agree to the udpate) - i.e. you should never have to click install through the website again.

Hope this helps!

Dec 8, 2011 at 1:47 PM
nachmore wrote:

Those are the WP7 tools, which this tool is not compatible with (since the capabilities didn't exist with the original toolset). You need to install the Mango tools (7.1) from http://www.microsoft.com/download/en/details.aspx?id=27570 to be able to use this tool (which is what the error message is saying, your SDK is too old and is missing some of the required APIs to run this tool.

But http://www.microsoft.com/download/en/details.aspx?id=27570 claims:

System requirements
Supported Operating Systems: Windows 7, Windows Vista

So I wonder that WP7 Tools will really work on Windows XP ...

Maybe it is an option that you create an own "XP package" which statically links the assemblies (e.g. ILMerge) you're using from the Phone SDK so that WP7 Tools is independent from the Phone SDK? Just a thought.

--Harald-René Flasch (aka hfrmobile)

Coordinator
Dec 8, 2011 at 3:33 PM

Yup, the tools have never supported Windows XP, but if you modify the installer configuration it will run on Windows XP and most things work (notable exception is the emulator). Hence XP support is nice to have, but not really a 100% must have..

Dec 8, 2011 at 4:46 PM

Absolutely agree. Thanks for the explanation!