Windows Azure Service Management CmdLets and Azure SDK refresh Feb

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.

3 thoughts on “Windows Azure Service Management CmdLets and Azure SDK refresh Feb

  1. Hey Nick – Thanks for posting the solution for the version check. You saved me some time and I appreciate it.

  2. Pingback: If Windows Azure Cmdlets v1.3 Won’t Install » Tardis Technologies

Leave a Reply

Your email address will not be published. Required fields are marked *

*

* Copy this password:

* Type or paste password here:

5,253 Spam Comments Blocked so far by Spam Free Wordpress

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>