Thursday, October 18, 2012

Installing Windows Phone SDK 7.1 on Windows Server 2008R2

When you try to install Windows Phone SDK 7.1 on a Windows Server 2008/2008R2 operating system, you will be smashed with this error which says “Windows 7 or Windows Vista is required”.
Untitled
"Windows 7 or Windows Vista is required"
If you are thinking about trying this installation again in Windows 7 or Windows Vista machine, you don’t have to. There is a simple workaround for this.
  1. Download the web installer. I am saving the installer in a folder named “Windows Mobile” in my D: drive.
  2. Extract the installer by running this command vm_web2.exe /x
    Untitled2
    extracting the installer
  3. You will be asked to select a extract folder. Give a extraction folder and extract.
  4. Open the extracted folder and open the “baseline.dat” file in a text editor.
  5. Find the section named “[gencomp7788]”.
  6. Change following values.
    • InstallOnLHS value from “1” to “0”
    • InstallOnWin7Server value from “1” to “0”
  7. Save and close “baseline.dat”.
  8. Run setup.exe /web from the extracted folder. By specifying "web" parameter we are forcing setup to download the packages it needs to install.
    Untitled3
    running the setup
That’s all. Now you are done.
Untitled1
Starting the installation
Hope this helps.

Happy Coding.

Regards,
Jaliya

3 comments:

  1. Gracias por tu aporte, tengo Windows Server 2008 R2 y estaba pensando en utilizar una máquina virtual para usar el SDK

    ReplyDelete
  2. hi...Im student from Informatics engineering nice article,
    thanks for sharing :)

    ReplyDelete
  3. Hi, nice post it helps a lot to me, to work with sharepoint lists in windows phone development

    ReplyDelete