Windows Azure Commandlets installation Issues with Windows Azure SDK 1.4 and Windows 7 SP1

Installing Windows Azure Cmdlets on Windows 7 SP1 OS based machine with Windows Azure SDK 1.4 could results following TWO
errors:

1.
You will get an error that installer
is not Compatible with your OS (Windows 7 SP1).

2.
You will get an error that a depend
component Windows Azure SDK 1.3 is missing.

If you don't know where to get Windows Azure Cmdlets:

-
You can download Windows Azure Cmdlets
form the link below:

https://archive.msdn.microsoft.com/azurecmdlets/Release/ProjectReleases.aspx?ReleaseId=3912

-
After it, please expand "WASM
Cmdlets" installer (WASMCmdlets.Setup.exe)
to a location in your machine. (i.e. C:\Azure\WASMCmdlets)

We will solve these two problems here:

To fix the installation problem related with Windows 7 SP1 please
do the following:

1.
Please browse C:\Azure\WASMCmdlets\setup folder and open Dependencies.dep file in notepad:

You will see the install script
is searching for OS build numbers as below however the Windows 7 SP1 build number #7601 is missing:

  <dependencies>

    <os type="Vista;Server" buildNumber="6001;6002;6000;6100;6200;7100;7600">

2.
Now Add Window 7 SP1 Build version 7601
at the end of the "os type" string as below:

  <dependencies>

    <os type="Vista;Server" buildNumber="6001;6002;6000;6100;6200;7100;7600;7601">

3.
Save the file.

To fix the installation problem related with Windows Azure SDK
1.4 please do the following:

1.
Please browse the C:\Azure\WASMCmdlets\setup\scripts\dependencies\check
folder and open CheckAzureSDK.ps1 file in notepad:

You will see the install script
is searching for Window Azure SDK version 1.3.11122.0038 as below:

$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\';

2.
Please replace the above value
with 1.4.20227.1419 as below:

$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\';

3.
Save the file.

The above two steps should save your installation
problem.