Quantcast
Channel: teamdeploy Work Item Rss Feed
Viewing all articles
Browse latest Browse all 14

Closed Issue: Uninstall should check that ProductCode is installed on TargetMachine before calling msiexec /x [6868]

$
0
0
When using the Uninstall task directly (rather than through the Deploy task), it executes msiexec /qn /x ProductCode. This fails on a machine that does not have the product code installed. This is because msiexec throws up a message box saying that you can't uninstall something that isn't installed. With quiet mode, this just fails.

For a team build scenario, there are often times when a new build/product comes along. When the process attempts to install the msi the first time for a target machine, the build will always fail. I think this activity should use similar logic to Deploy where it resolves the ProductCode from a ProductName. The Uninstall task should search the target machine registry to see if the package is installed before calling out to msiexec /x.

The next time a build kicks off, the package is installed, the product code will be in the registry and the uninstallation will then be invoked.
Comments:

added check in Deploy activity to only uninstall if the product is installed on the target.


Viewing all articles
Browse latest Browse all 14

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>