What’s wrong with my customization of Add Remove Programs?


We’re trying to install our MSI without having it listed in Add/Remove Control Panel using (as per documentation I found in the MSDN):


We’ll then manually add an entry in the registry (CurrentVersion\Uninstall\SomethingPretty) to our Setup wrapper to handle maintenance modes. But I can’t seem to uninstall this MSI once I set the above property as we get the error "This action is only valid for products that are currently installed. We're just using
msiexec /x product.msi


You should specify the ProductCode – not the product.msi itself – as the parameter. Look at some ARP entries for other MSI products installed on the system for some examples.

Content credit also belongs to

  • Heath, Developer Divison Customer Experiance Dev. You can get other Heath insights from Heath Stewart's Blog

[Author: Robert Flaming]

This posting is provided "AS IS" with no warranties, and confers no rights. Use of included script samples are subject to the terms specified at http://www.microsoft.com/info/cpyright.htm.

Comments (1)

  1. DeepICE says:

    Why in the world would you allow something to be unistallable?

Skip to main content