I'm looking for something like a Powershell script to check if msdeploy is installed and if it is, what version
I've considered checking "c:\Program Files\IIS" and checking for MSDeploy installations there, but is this always guaranteed to be the install location?
I need this to work on any given server machine
When msdeploy
is installed (no matter where in the file system), it will add its install path to the registry at;
HKLM\Software\Microsoft\IIS Extensions\MSDeploy\<version>\InstallPath
and its version information to;
HKLM\Software\Microsoft\IIS Extensions\MSDeploy\<version>\Version
...where <version>
is currently 1, 2 or 3 depending on the WebDeploy version you have installed.