Always install MSI in First Time Install mode - Advanced Installer Community
MohammudDaulgha
Posts: 7
Joined: Wed Aug 01, 2018 8:25 am

Always install MSI in First Time Install mode

Hi Team,
I am use Advance Installer Enterprise edition. Like to know how to build a MSI where in I will always get First Time Install mode. Maintenance or Patch or any other mode of installation in not required for the installation even if I have install the MSI already in the same machine.

Please suggest.
Catalin
Posts: 7852
Joined: Wed Jun 13, 2018 7:49 am

Re: Always install MSI in First Time Install mode

Hello Mohammud,

In order to achieve this, you can enable major upgrades for your setup. This can be done by incrementing the version of your setup from the "Product Details" page and also by changing the ProductCode. The ProductCode property is a unique GUID used to identify your application. This identifier varies from version to version.It is important to note that two products with the same ProductCode can not be installed on the same computer. Windows Installer will prevent this with an error reading:

Another version of this product is already installed. Installation of this version cannot continue. To configure or remove the existing version of this product, use Programs and Features in the Control Panel.

The ProductCode property is stored within the .aip project file ("Product Details" page --> "Product IDs" tab).

A major upgrade consists of the following two steps:

- uninstalling the older version of your setup
- installing the newer version of your setup in "First time install" mode.

Hope this helps.

All the best,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”