Hi guys,
How to detect a minor upgrade or is there some property like NOTIFY_IF_MINOR_UPGRADE?
PATCH property does not seems to be set during minor upgrades, also I could not find any property related to minor upgrade.
Thanks for help,
Artem
Code: Select all
OLDPRODUCTS >< YOUR_MINOR_UPGRADE_PRODUCT_CODEIf you created the patch right, then the PATCH property should correctly detect it. This property can be used as a custom action condition for example. Can you please describe the notification mechanism you implemented and how are you trying to use the property to condition it?I am doing patch upgrade by changing the 3-rd number of ProductVersion field. How to detect this kind of upgrade?
Yes, in this case you would be using minor upgrade installed similar to a patch (the old version .MSI is used to perform a repair operation).What I need is minor upgrade. Please confirm that with option "Install MSI as minor upgrade (if applicable)" and by changing the ProductVersion (ProductCode stays the same) I automatically use minor upgrade?
Indeed, choosing patch when prompted actually keeps the same product code which is fine if you want a minor upgrade as defined by Microsoft.Also note that by changing ProductVersion I am forced by IDE to choose Patch updating method, I consider it will behave as minor upgrade during 1.0.0.exe -> 1.0.1.exe upgrade
You can add a search from the Search page: In the "Product Code" field, you'll have to keep in mind to have the same current package's product code.If it is a minor upgrade do you know how to detect it in custom action's condition field?
FOLLOW US
Get the latest news in Application Packaging