Installation Version and Assembly Versions when Patching
Posted: Tue May 17, 2011 12:27 pm
Previously, we used Wise Installation Studio to build our MSI and MSP patch files. Our process at that point (in summary) was essentially the following :
1. Create release MSI file (keep copy)
2. Copy and rename the *.wsi source project file used to create the released MSI according to the next Hot Fix (Patch) to be distributed.
3. Run their patch preparation utility and update the version number (Product and Upgrade Codes unchanged)
4. Distribute the MSP file to our customers to patch the software
This process resulted in an update to the version number (under Installed Programs) and updates to any assembly files where the version number has been changed according to MSI rules. So, if the assembly had beeen recompiled (date changed) but the version had not been updated, then the MSP technology would not apply that file.
In following the Patching example provided via the IA whitepaper, I've encountered two issues I am trying to resolve :
1.) The product version does not update when the patch is applied, even though the second version of the project that I built I updated this version before building it.
2.) The assemblies are updated regardless of their version. In my case, the date is new, but I specifically did not update the version.
Are there settings I am missing and/or not understanding the IA patching methodologies? The understood the above to be rules specified as part of the MSI/MSP technology.
1. Create release MSI file (keep copy)
2. Copy and rename the *.wsi source project file used to create the released MSI according to the next Hot Fix (Patch) to be distributed.
3. Run their patch preparation utility and update the version number (Product and Upgrade Codes unchanged)
4. Distribute the MSP file to our customers to patch the software
This process resulted in an update to the version number (under Installed Programs) and updates to any assembly files where the version number has been changed according to MSI rules. So, if the assembly had beeen recompiled (date changed) but the version had not been updated, then the MSP technology would not apply that file.
In following the Patching example provided via the IA whitepaper, I've encountered two issues I am trying to resolve :
1.) The product version does not update when the patch is applied, even though the second version of the project that I built I updated this version before building it.
2.) The assemblies are updated regardless of their version. In my case, the date is new, but I specifically did not update the version.
Are there settings I am missing and/or not understanding the IA patching methodologies? The understood the above to be rules specified as part of the MSI/MSP technology.