cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Uninstall icon in IDE

[FONT=Garamond]Does anyone know why the Uninstall icon is always disabled on the Standard IDE toolbar?

Also, whenever I run the installation from inside the IDE, if the product is already installed, it presents a message saying I must uninstall it first, even though I have "Uninstall before installing" toggled on in Tools > Options > Preferences. Anyone know why?
[/FONT]
(1) Reply
The Uninstall button will be enabled when the project opened in IDE is installed on the same machine. MSI use ProductCode property to determine if a package is installed. If ProductCode property is modified, the package is not considered installed.

After installing a MSI, if PackageCode property of the MSI is modified, or MSI is rebuilt with a different PackageCode property while keeping ProductCode property unchanged, rerunning the MSI will result in the error you described.

As an aside, it is not recommended to test installations on your developement machine.