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.
As I said, you will get the "Another version of this product is already installed
" message because you created a package, installed it, modified its contents and then you tried to install it again without uninstalling the original one.
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 closer look on the Product Identification