Page 1 of 1

Version number doesn't increase after update

Posted: Sun May 13, 2007 10:26 am
by davidda
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

Posted: Mon May 14, 2007 11:32 am
by MichaelNesmith
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.

Posted: Mon May 14, 2007 1:34 pm
by davidda
oh okay, what you suggested was the work-around i thought about for my problem, but it's just the real solution. thank you!