Hi Rob,
I assume you selected the
Disable Modify option from the
Product Details Tab page. Please note that the intended purpose for the related options is:
- Disable Modify - Disables the "Change" option in the "Add or Remove Programs" applet in the Control Panel.
Disable Repair - Disables the "Repair" button in the "Add or Remove Programs" applet in the Control Panel. This button is showed when you select the Click here for support information link.
Disable Remove - Disables the "Remove" option in the "Add or Remove Programs" applet in the Control Panel.
If you run the same installation package for the second time, then Windows Installer will run the installer in
maintenance mode and the user will then be presented with choices to alter the installed product, repair it or remove it (done through the
MaintenanceTypeDlg). This is happening because the installation package has the same
PackageCode GUID. A new PackageCode is generated each time you build your project. Think of the PackageCode as some sort of checksum. No two .msi files should ever have the same PackageCode unless they are identical.
Please take a look on the
Product Identification article which may be useful to you.
Best regards,
Dan
FOLLOW US
Get the latest news in Application Packaging