RubenG
Posts: 10
Joined: Thu Jun 26, 2014 6:10 pm

Error installing the same version of a product

Hi all,

I'm getting a nasty bug that cannot overpass. I have my testing machine in which I installed a version of my software (this one is not the last version), however the dev team released a correction for that version and this one should be the final release of the product. I updated the reference file in the project but when try to run the new installer (with the same version and product key) it says that I have already an installed version and it not start at all.

I already run a MsiZap *WA! ALLPRODUCTS on the machine, but I'm getting the same. I already tested all what I know. I tried to install this same package on another machine and it says that one of the MSI package has problems and don't start.

How can I solve this, What can I check in order to be able to test my installer and finally release the product?

Thanks a lot,
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Error installing the same version of a product

Hello,

This is happening because 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 Add/Remove Programs on the Control Panel.

This message is showed if you created a package, installed it, modified its contents and then you tried to install it again without uninstalling the original one. Basically, Windows Installer can upgrade the original package only if the modified one has a higher version and a different Product Code. For details, please take a look on the Product Identification (ProductCode and UpgradeCode) article.

This error can only occur on development machines during the installer's authoring process. You needn't consider preventing it on clients' machines.

In order to remove a broken installation, please take a look on the How do I remove a broken installation? article with related information for hints and guidance.

Please note that it is highly recommended using virtual machine software, so you can easily reset the virtual machine to a known clean state (and also don't have to worry if your install breaks the machine).

Let us know if that helped.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”