Upgrading older versions automatically does not work anymore - Advanced Installer Community
Jakob1981
Posts: 46
Joined: Fri Jun 13, 2014 10:52 am

Upgrading older versions automatically does not work anymore

Hello everyone,

I have a huge problem. Every week we release a minor updated version of our product. With each exe we built, we increment the version number, e.g.

from 3.35.350 to 3.35.351

We do not change anything else for those minor upgrades, meaning Product Code, Upgrade Code remain the same.

This always worked wonderfully - until today. I changed NOTHING with the configuration, but now it fails to work.

The Application Upgrade settings look fine to me. I have tried everything that is possible via UI. I have changed the Product Code, etc, etc.... nothing works. It always tells me that there is another version already installed.

Now I wonder how it is possible that from one week to another this feature does not work anymore without me changing the config in any way?
Is there any hint you can give me? Or can I maybe pass you my config so that you check what is wrong with it? That would be great!

best regards,

Jakob
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Upgrading older versions automatically does not work anymore

Hello Jakob,
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.
A new ProductCode is required for a major upgrade, otherwise you will be prompted with the above error message.

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

If you are using the /SetVersion command, then a new Product Code will be generated if the new version is different from the old one, unless the -noprodcode option was used.

Can you please give us more details about the steps that you performed? Also, in order to have a better view about this we need the .AIP(project file) of the old version, the .AIP(project file) of the upgraded version and the verbose log of the installation process when performing an upgrade.

If it contains confidential information you can send us the requested files on our support at advancedinstaller dot com email address.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Jakob1981
Posts: 46
Joined: Fri Jun 13, 2014 10:52 am

Re: Upgrading older versions automatically does not work anymore

Hello Dan,

thank you, /SetVersion solved the problem!

Best regards,

Jakob
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Upgrading older versions automatically does not work anymore

You're welcome Jakob,

Please let me know if there is anything else I can help you with.

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

Return to “Common Problems”