Aaron Stebner's WebLog

Thoughts about setup and deployment issues, WiX, XNA, the .NET Framework and Visual Studio

How to install the Windows Phone Developer Tools on Windows Server 2008

How to install the Windows Phone Developer Tools on Windows Server 2008

Rate This
  • Comments 65

The Windows Phone Developer Tools are not officially supported on operating systems other than Windows Vista or Windows 7.  In between the CTP and the CTP Refresh, a block was added to setup to prevent installing on Windows Server 2008 to help enforce this support limitation.  I’ve heard from some folks who were using the original CTP on Windows Server 2008 who cannot move forward to the CTP Refresh or the final release because of this block.

There is a way you can work around the Windows Server 2008 setup block if needed.  Please note that this is not officially supported, so if you try these steps, you are doing so at your own risk.

  1. Download the Windows Phone Developer Tools web bootstrapper and save it to your hard drive
  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]

    Note - you have to change this exact section - this is the one that controls the OS version blocking behavior in Windows Phone Developer Tools setup.
     
  5. Change the value InstallOnLHS from 1 to 0
  6. Change the value InstallOnWin7Server from 1 to 0
  7. Save and close baseline.dat
  8. Run setup.exe /web from the folder you extracted to in step 2

    Note - please make sure that you include the /web command line parameter in step 8.  If you don't, setup will not attempt to download the packages it needs to install, and it will fail to install correctly as a result.

<update date="9/17/2010"> Added an emphasis on steps 4 and 8 - setup will fail if you don't pass in the /web switch when using these steps.  Also updated the steps for the final RTW build of Windows Phone Developer Tools. </update>

 

  • Thank you!!! Every day we learn something new. =D

  • This worked for me on a XP SP3...

  • thanks to have copy my guide http://www.wpmitalia.com/2011/03/31/guida-installiamo-windows-phone-developer-tools-su-windows-xp/

  • Hello, with this tutorial the installation failed, but when i change the line:

    Set

    BlockorWarn=0

    Worked like a charm.

  • It fails with Server 2008 R2 even after the workaround...

  • Hi Pankaj Nikam - Do you mean that setup still fails, or setup succeeds but the product doesn't work afterwards?  If it is a setup failure, can you please use the tool described at blogs.msdn.com/.../6458047.aspx to collect all of your setup log files, post the file named %temp%\vslogs.cab that this tool will create to a file server (such as http://skydrive.live.com), and then reply back here and provide a link that I can use to download your log files and take a closer look?

  • Thank you very much for this tips. Very helpful!!

  • That was awesome - worked like a charm - I really appreciate it.

  • Thanks dude!

  • trying to download window phone sdk 7.1 on my system which has Visual studio 2008 but it comes up with an error saying they are not compactible. Any ideas?

  • Hi Michael - Can you please use the tool described at blogs.msdn.com/.../6458047.aspx to collect all of your setup log files, upload the file named %temp%\vslogs.cab that this tool will create to a file server (such as http://skydrive.live.com), and then reply back here and provide a link that I can use to download your log files and take a closer look?

  • Hi Aaron Stebner, the installation went fine with this approach. When I try to create a PhoneGap project it gives me the following error  

    c:\users\Administrator\AppData\Local\Temp\xyz\CordovaStarter.csproj(134,3). The imported project "C:\Program Fiels(x86)\MSBuild\Microsoft\Silverlight for Phone\v4.0\Microsoft.Silverlight.WindowsPhone71.Overrides.targets" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk

    Am I missing anything here?

    Thanks & Regards

    Srinivas

  • Hi Srinivas - That .targets file should have been installed by the Windows Phone SDK 7.1.  Did you install 7.1 or the older 7.0 version of the tools?  If you installed 7.0, I'd suggest installing 7.1 instead.  If you installed 7.1 and still see this error, then I'd suggest trying to repair 7.1 to see if it will restore that .targets file that it says is missing from your computer.

  •  I had to do two additional edits to the web installer config file.

     It wanted to install visual studio - but it could not, and, I already had visual studio installed.

     So I did the same edit mentioned above about gencomp7788 for the two sections that looked like visual studio sections (x86 and x64).

     It is possible that my Expressions or 64bit 2008R2 is what needed these additional two edits that I made that caused it to skip the visual studio downloads

  • thanks,

    it work even under the follow configuration:

    - virtual box

    - MS Windows 2008

    - VS 2010

    - Silverlight 4 premium

    however, virtual box Graphic drive is not 100% compatible to GPU configuration so when test the message "... GPU and XNA...." will popup. Just hit continue.

Page 4 of 5 (65 items) 12345
Leave a Comment
  • Please add 5 and 1 and type the answer here:
  • Post