Codename K
Posts: 471
Joined: Fri Jan 29, 2010 3:04 pm

Another version installed message with new version?

Hello,

My installer project file retrieves the version number from the executable program. For example, the old number is "0.200.1" but the new number is "1.0.24". But when the new version is installed I get the message that another version of the installer is already installed and it closes the installer.

:?:
K
Catalin
Posts: 6592
Joined: Wed Jun 13, 2018 7:49 am

Re: Another version installed message with new version?

Hello,

This probably happens due to the fact that you did not change the "Product Code" after changing the setup version.

The Product Code can be found in "Product Details" page --> "Product IDs" tab.

The ProductCode property is a unique GUID used to identify your application. This identifier varies from version to version of the same installer.

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, could you please generate a new Product Code for the new version of your setup and let me know if that helps?

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Codename K
Posts: 471
Joined: Fri Jan 29, 2010 3:04 pm

Re: Another version installed message with new version?

Hello,
With that being said, could you please generate a new Product Code for the new version of your setup and let me know if that helps?
Will this detect previous version and upgrade over it or will this identify as different installer?

Regards

Muhriz
K
Daniel
Posts: 8238
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Another version installed message with new version?

Hello Muhriz,

Yes this will detect previous version and upgrade it like this: first it uninstalls previous version and then in installs the new version of the product.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Codename K
Posts: 471
Joined: Fri Jan 29, 2010 3:04 pm

Re: Another version installed message with new version?

Hello,

Thank for the information. Is there a way to uninstall the program if the version is newer? You are installing an old version of the program but the installer needs to uninstall the new version and install the old one. Is this possible?

:?:
K
Daniel
Posts: 8238
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Another version installed message with new version?

Hello,

Yes, if you want the product installation be downgrade-compatible, then you can follow the steps exposed in "Is it possible to do an upgrade like process regardless of version number?" thread.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Catalin
Posts: 6592
Joined: Wed Jun 13, 2018 7:49 am

Re: Another version installed message with new version?

You are always welcome.

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

Return to “Common Problems”