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!

NigelShaw
Posts: 58
Joined: Wed Apr 01, 2015 12:45 am

Overwrite existing Installation

Hey

What settings would i need to overwrite an existing install? I am trialling my build and everytime i make a change, build it and run it again, i get a message about an existing version that i need to uninstall first...

I looked at Install Parameters but that sort of covers previous versions

help greatly appreciated

Nacho
Catalin
Posts: 7853
Joined: Wed Jun 13, 2018 7:49 am

Re: Overwrite existing Installation

Hello Nacho,

In order for the current installation to uninstall a previous installation, you can proceed as it follows:
  • go to "Product Details" page and increase its version (e.g. from 1.0.0 to 1.0.1)
  • rebuild the project. When asked about generating a new ProductCode, please select "Generate New"
In what regards the message:

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.


This is happening because two setups having the same ProductCode can not be installed on the same machine. For more information about this, please have a look over the following article:

Product Identification (ProductCode and UpgradeCode)

Hope this helps.

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

Return to “Building Installers”