Hello,
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. No two .msi files should ever have the same PackageCode unless they are identical.
Please take a closer look on the
Product Identification article.
By the way, if you want to allow different versions of the same application to be installed on the same computer you can enable the
Allow side by side installs of different product versions option from the
Upgrades page.
Please note that when authoring side by side installs of different versions of an application, it is recommended that some rules should be used. The install locations, registry entries, shortcuts etc. should differ from one version to another. If they are not different, the present items will be overwritten when a new version is installed. Also, they will be removed when a version of the application is uninstalled even if the other versions still uses them.
Let us know if that helped.
Best regards,
Dan