Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to find out what version of webdeploy/msdeploy is currently installed?

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

like image 373
EdmundYeung99 Avatar asked Feb 26 '13 19:02

EdmundYeung99


People also ask

How do I check Msdeploy version?

You can verify web deploy is installed by going to the "Programs and Features" control panel and looking for "Microsoft Web Deploy 2.0" in the list of installed programs.

Where is Msdeploy installed?

Once the command prompt is up, you will navigate to the folder level where MSDeploy.exe exists. On Windows 7, the default installation will place msdeploy.exe in C:\Program Files (x86)\IIS\Microsoft Web Deploy. msdeploy.exe has an extensive command base.

What is Msdeploy?

Overview. Web Deploy (msdeploy) simplifies deployment of Web applications and Web sites to IIS servers. Administrators can use Web Deploy to synchronize IIS servers or to migrate to newer versions of IIS.

Where is web deployment Agent Service?

To check that the Web Deployment Agent Service is runningOn the Start menu, point to Administrative Tools, and then click Services. Locate the Web Deployment Agent Service row, and verify that the Status is set to Started. If the service is not already started, click Start.


1 Answers

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.

like image 160
Joachim Isaksson Avatar answered Sep 28 '22 04:09

Joachim Isaksson