Installer version problem - 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!

stevo.zilik
Posts: 42
Joined: Thu Jul 19, 2007 1:39 pm

Installer version problem

Hi,

I would like the installer to be able to modify existing installation from any package build with same Product Version not only the one that program was installed from.

First msi package build B1 is created. People use B1 to install application. After some time, I find out that there is a little bug in B1 (with translation e.i.) and I need to fix it. So I fix that bug in installer project and rebuild it to new msi installation package B2. B2 is published, people get it and it happens that they will want to repair package for some reason. Problem is that if they installed application from B1 and B2 is run (to repair), Version mismatch occurs so first B1 must be removed and after that, B2 is installed from scratch. I did NOT change the Product Version in B2.

Is this a bug or feature?
Maybe there is another way how to do these updates... ?
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Hi,

You can upgrade an older installation package in two ways: by using a patch or by using the automated upgrade feature. I explained these methods in another post, please take a look:
http://www.advancedinstaller.com/forums ... de+feature

Note that for the automated upgrade feature you need to change the product code in the new package (answer "Yes" after increasing the version of the original package) and for the patch the product code must be the same for both packages (answer "No" after increasing the version in the original package).
I did NOT change the Product Version in B2.
When performing an upgrade, the version of the upgraded MSI must be higher than the version of the old MSI.
Is this a bug or feature?
It isn't a bug or a feature, it's simply a limitation of Windows Installer (the old and upgraded packages cannot have the same version).

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
stevo.zilik
Posts: 42
Joined: Thu Jul 19, 2007 1:39 pm

thanx for answer, looks like that what I want is not possible :(

Return to “Common Problems”