Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to automatically detect the version of installed Azure SDK?

Is there a simple (documented?) way to detect the actually installed version of Azure SDK in automation script? I am going to define conditional behavior depending on this version.

Currently, I just look into the C:\Program Files\Microsoft SDKs\Windows Azure\.NET SDK\ folder and review its content. But I find it not reliable and not automatable.

like image 444
moudrick Avatar asked Dec 12 '12 10:12

moudrick


2 Answers

Here's the tip that helped me: http://www.robblackwell.org.uk/2011/05/29/determining-the-windows-azure-sdk-version-at-runtime.html

like image 65
Vyas Bharghava Avatar answered Oct 07 '22 18:10

Vyas Bharghava


If you used the Windows Platform Installer to install the SDK (which I believe is the standard way to do it now), you can use webpicmd.exe to determine which SDK is installed. For example:

webpicmd /List /ListOption:Installed

See more at http://msdn.microsoft.com/en-us/library/azure/gg433092.aspx

like image 37
Alex Dresko Avatar answered Oct 07 '22 18:10

Alex Dresko