Version number doesn't increase after update

Got a problem you cannot solve? Try here.
davidda
Posts: 7
Joined: Sun May 13, 2007 9:59 am

Version number doesn't increase after update

Postby davidda » Sun May 13, 2007 10:26 am

Hello,

1. I've created a main setup (version 1.0.0) and configured it for automatic updates (much msicode was customized).
2. I built it and added it as patch reference and then changed some files.
3. Then I changed the version number to 1.1.0 and built a patch.
4. I installed the main setup on my test pc and let it update to 1.1.0. Everthing seemed fine, but as i noticed by including a msgbox on $VERSION$ the number was still 1.0.0.
5. I changes some files in my setup again and built a 1.1.2 patch based upon the main setup and the 1.1.0 patch in patch references.
6. The setup on my test pc wasn't able to find this new patch of course, because it was only assigned to version number 1.1.0.

Why didn't the version number update? I think this procedure is done msi-internally and not in the update code, so that i couldn't have mis-changed there, could I?

I also searched the forum on this topic, but I found nothing simliar.

Getting quick help would be great,
thank you in advance

MichaelNesmith
Posts: 3452
Joined: Thu Dec 22, 2005 7:17 pm
Contact:

Postby MichaelNesmith » Mon May 14, 2007 11:32 am

This is normal. A patch will not change the base version number information. The base version number information will change only when an uninstall-reinstall cycle occurs.

You can serve patches for your older versions also, because updates that were downloaded before will not be re-installed during a later update cycle.
Michael Nesmith
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/

davidda
Posts: 7
Joined: Sun May 13, 2007 9:59 am

Postby davidda » Mon May 14, 2007 1:34 pm

oh okay, what you suggested was the work-around i thought about for my problem, but it's just the real solution. thank you!


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 115 guests