Hi all,
A question about Win Phone and Win Server 2008 r2.
MS does not support the WinPhone SDK installation on Windows Server 2008 r2.
Not sure of the MS logic on this "brilliant" decision since many organizations (mine included) host build servers on Windows Server 2008 r2 machines. However -
Not to be daunted ... I googled the way to install the SDK on the Winserver 2k8 machine. Success ... it is now installed.
Next step ... install the WinPhone Infragistics Controls... This fails.
The installer fails to find the installation of the SDK even though it is there.
Anyone else had this issue and worked around it?
In the case of the MS SDK ... you merely change some flags in the installer script. Am hoping the same for Infragistics. Our lab uses a build server that is on a Win Server 2008 r2 platform and it is a royal pain to set up more machines
Hello,
The Infragistics Windows Phone installer looks for the Windows Phone SDK 7.0 registry value "Install Path" in the key at HKEY_LOCAL_MACHINE\Software\Microsoft\Microsoft SDKs\WindowsPhone\v7.0\Install Path. On a 64bit machine check for the value at HKEY_LOCAL_MACHINE\Software\Wow6432Node\Microsoft\Microsoft SDKs\WindowsPhone\v7.0\Install Path.
If the registry value doesn't exist, then you could create it and have its value be the path to the Windows Phone 7.0 SDK files (example path being "C:\Program Files (x86)\Microsoft SDKs\Windows Phone\v7.0\").
Once this key exists and is to a valid path, the Infragistics Windows Phone installation should be able to meet its prerequisite check and continue with the install.
Brian,
The registry keys appear as described in your post (the 64 bit reference).
Are there other prereqs the installer may be choking upon?
I was able to run the Infragistics Windows Phone installer on a Win Server 2008 R2 64bit machine by adding only that registry value. I gave it a valid folder path, in this case it was one that I had created to test this workaround, and that satisfied the launch requirement of the installer. Below is what would be seen when exporting the key I created.
[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Microsoft SDKs\WindowsPhone\v7.0\Install Path]"Install Path"="C:\\testworkaround"
So I can be sure that we are performing the same steps, what is the name of the file you are running? I installed this by directly running the NetAdvantage_WindowsPhone_20112.msi file from an administrator command prompt.
Actually ... I am just rerunning the platform installer and clicking the boxes to add the winphone bits.
Will see what impact launching the .msi file directly will have on this ...
I'm glad to hear that you are able to get it installed. Thank you for the note about the platform installer. We'll continue on our end to investigate why the platform installer had difficulty in this case.
This is now resolved. Stick a fork in it.
Restrospective:
Fail: If you do the install process via the platform installer - It will complain and exit.
Succeed: If you do it directly with the .msi file ... it will install happily without issue.
In this case ... alll is now well in the universe. The components are on the Win2k08 r2 server and all is good in the build server.
Platform Installer seems to have an issue with adding this stuff and seems to remember the previous fail on prereq checks. It does not even execute the process to pull down the .msi files for phone bits to get you to the point if getting the .msi.
I would guess it is failing to forget the previous attempt and failing on subsequent attempts and something is being persisted by the platform installer.
The work around for WinPhone on Winserver 2k8 r2 (to recap):
1 . Execute the Microsoft Hack (uri in previous post);
2. Download the .msi directly. This equals success.
Thanks for the note about the .msi ... that was the key bit of data and closed the loop.