We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

avirani
Posts: 1
Joined: Thu Oct 04, 2018 4:22 pm

Update To Same Version with Newer Date

Is there a way the installer could overwrite/update the already installed product even though it has the same version value?
Catalin
Posts: 7853
Joined: Wed Jun 13, 2018 7:49 am

Re: Update To Same Version with Newer Date

Hello and welcome to our forums,

Yes, that is possible. In order to achieve what you want, you can proceed as it follows:

Important quick note before we begin:

The ProductCode property is a unique GUID used to identify your application. This identifier varies from version to version or between different languages of the same installer. You can check this first hand from Advanced Installer by going to Project->Options->Project IDs. You will notice a different ProductCode associated with each language your installer supports.

Also, 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.

- With that being said, in order to install a product with the same version but newer data, you need to change the ProductCode. To do so, please go to "Product Details" page --> "Product IDs" tab --> double click on the Product Code --> click "Generate" to generate a new product code then click "Ok".

- One last thing to do is to enable the "Always overwrite existing file" option for each file in the "Files and Folders" page. To do so, please go to "Files and Folders" page --> right click on one of your files --> "Properties" --> "Operations" tab --> "Always overwrite existing files".

Hope this helps.

Kind regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”