Getting error "Another version of this product..." - Advanced Installer Community

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!

mnicknish
Posts: 1
Joined: Wed Jul 09, 2008 9:58 pm

Getting error "Another version of this product..."

I am new to Advanced Installer (my first day), so bear with me.

I built a new Enterprise Installer which creates an installer for a Java application. It was working fine, but suddenly I get the following error when trying to launch the installer:
"Another version of this product is already installed. Installation of this version cannot continue. To configure or remove the existing version of this product Add / Remove Programs on the Control Panel"

Please note that I do not register anything in the registry. I do not have any option set to not install if the product already exists (I expect it to install over it)

Anyone have any ideas why this is happening? I am kind of stuck.
Thanks
Mary
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Getting error "Another version of this product..."

Hi Mary,

Windows Installer allows you to upgrade an installation in multiple ways. The most important are:
- the automatic upgrade feature (the old package is uninstalled before the new one is installed)
- a patch

Each upgrade method requires a target package and an upgrade package. For the automatic upgrade feature the target and upgraded packages must have different Product Codes and different versions. For a patch, the packages must have the same Product Code and different versions.

Windows Installer will show the error you encountered if:
- the target and upgraded packages have the same Product Code and the same version, but different contents (for example: you created a package, you installed it, you modified its project, rebuilt the package and tried to install the new package without uninstalling the old one)
- the target and upgraded images have the same Product Code and different versions (for patches)

For both scenarios, if you run the modified package from Advanced Installer (the "Run" button), Advanced Installer will automatically uninstall the old package before launching the modified one. However, if you run the modified package outside Advanced Installer, Windows Installer will show the message you encountered. In this case you need to use the "Add or Remove Programs" applet in the Control Panel to uninstall the old package before launching the new one.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”