If have applied the Azure SDK Feb Refresh and wanted to install the Windows Azure Service Management CmdLets you may find that the dependency check for Windows Azure Software Development Kit 1.3 fails.
The solution is simple – Update C:\WASMCmdlets\setup\scripts\dependencies\check\CheckAzureSDK.ps1 to check for the latest version of the SDK.
Before:
…
$res1 = SearchUninstall -SearchFor 'Windows Azure SDK*' -SearchVersion '1.3.11122.0038' -UninstallKey 'HKLM:SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\'; $res2 = SearchUninstall -SearchFor 'Windows Azure SDK*' -SearchVersion '1.3.11122.0038' -UninstallKey 'HKLM:SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\'; ($res1 -or $res2)
After:
... $res1 = SearchUninstall -SearchFor 'Windows Azure SDK*' -SearchVersion '1.3.11122.0038' -UninstallKey 'HKLM:SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\'; $res2 = SearchUninstall -SearchFor 'Windows Azure SDK*' -SearchVersion '1.3.11122.0038' -UninstallKey 'HKLM:SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\'; $res3 = SearchUninstall -SearchFor 'Windows Azure SDK*' -SearchVersion '1.3.20121.1237' -UninstallKey 'HKLM:SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\'; $res4 = SearchUninstall -SearchFor 'Windows Azure SDK*' -SearchVersion '1.3.20121.1237' -UninstallKey 'HKLM:SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\'; ($res1 -or $res2 -or $res3 -or $res4)
While strictly speaking you could have updated just res1 and res2 – the above less than elegant copy paste solution is provided such that it can support either version
Enjoy,
Nick Harris.
Hey Nick – Thanks for posting the solution for the version check. You saved me some time and I appreciate it.
no problems Bryan
Kind Regards,
Nick Harris
Pingback: If Windows Azure Cmdlets v1.3 Won’t Install » Tardis Technologies