rncox73
Posts: 18
Joined: Thu Jun 17, 2010 11:39 pm

Problem applying upgrade

I created an installation package, built it and installed it on a virtual pc image. I then went back to my .aip file and changed the version number from 3.2.0.162 to 3.2.0.164. I also changed the product code but made sure the upgrade code was the same. Then under the "Upgrades" page I checked the box for "Install new version first and then uninstall old version" and added a line appropriately to the upgrades list. See attached image for screen shot. However afterI install the build on my virtual pc image, there are two entries under the "Add/Remove Programs" section. It also asks me for the install folder during the install of the new build, but it shouldn't do that correct?
Attachments
Upgrades.JPG
Upgrades.JPG (23.71 KiB) Viewed 2732 times
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: Problem applying upgrade

Hello,

Please note that Windows Installer only uses 3-field versions. Your fourth field is ignored. Thus you have two packages with the same version number (3.2.0). I believe that is the cause of your problem. Simply increment the third field instead of the fourth when you release new versions. You can keep the fourth field if you wish for informational purposes, however it will be entirely ignored.

Best regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/

Return to “Common Problems”