10
Vote

Fix for installer failing on Azure SDK 1.6

description

Hi people,
 
I fixed the installer failing for the Azure SDK 1.6.
 
Just change the following lines in the the C:\WindowsAzure\MMC\setup\scripts\dependencies\check\CheckAzureSDK.ps1 PowerShell script
 

<OLD>

$res1 = SearchUninstall -SearchFor 'Windows Azure SDK*' -SearchVersion '1.4.20227.1419' -UninstallKey 'HKLM:SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\';
$res2 = SearchUninstall -SearchFor 'Windows Azure SDK*' -SearchVersion '1.4.20227.1419' -UninstallKey 'HKLM:SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\';
 
($res1 -or $res2)

</OLD>

 

<NEW>

$res1 = SearchUninstall -SearchFor 'Windows Azure SDK*' -SearchVersion '1.4.20227.1419' -UninstallKey 'HKLM:SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\';
$res2 = SearchUninstall -SearchFor 'Windows Azure SDK*' -SearchVersion '1.4.20227.1419' -UninstallKey 'HKLM:SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\';
$res3 = SearchUninstall -SearchFor 'Windows Azure Tools*' -SearchVersion '1.4.20227.1419' -UninstallKey 'HKLM:SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\';
$res4 = SearchUninstall -SearchFor 'Windows Azure Tools*' -SearchVersion '1.4.20227.1419' -UninstallKey 'HKLM:SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\';
$res5 = SearchUninstall -SearchFor 'Windows Azure Emulators*' -SearchVersion '1.6.21103.1459' -UninstallKey 'HKLM:SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\';
$res6 = SearchUninstall -SearchFor 'Windows Azure Emulators*' -SearchVersion '1.6.21103.1459' -UninstallKey 'HKLM:SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\';
 
 
($res1 -or $res2 -or $res3 -or $res4 -or $res5 -or $res6)

</NEW>

 
Have fun!
 
Stefan Stranger
Microsoft

comments

MS_DaveH wrote Apr 12, 2012 at 4:14 PM

Thanks. This worked for me when I was seeing a failure for Windows Azure SDK 1.4 in the dependency check.

David Hollowell
Microsoft

wrote Apr 12, 2012 at 4:15 PM

wrote Apr 12, 2012 at 11:42 PM

pcgeek86 wrote Apr 12, 2012 at 11:44 PM

The other way to do this would be to open up the setup\dependencies.dep file and comment out this section:
    <!--
  <dependency
                value=".\scripts\dependencies\check\CheckAzureSDK.ps1"
                enabled="true"
                optional="false"
                title="Windows Azure Software Development Kit 1.4"
                explanation="Download and install the Windows Azure SDK 1.4"
                downloadUrl="http://go.microsoft.com/fwlink/?LinkId=128752"
                scriptName=""/>
                -->

wrote Jun 6, 2012 at 9:13 PM

wrote Feb 14, 2013 at 7:22 PM

wrote Aug 27, 2013 at 3:50 PM