Hi,
Than, I started a new patch project, set the updated to the 3.97 exe and the target to the 3.98 exe and built the patch.
The problem is that you don't set the upgraded and target images right. When you add "New Upgraded" select the 3.98 version of your package, for "New Target" select the 3.97 version.
For a patch, it says "That is why is recommended to use patches only for minor updates, that do not change the Product Code".
For updates it says "You must allow the generation of the new product code if you want to allow the automated upgrade of older versions of the product".
A patch is the difference between two msi packages and needs the first version in order to be installed. Thats why you must not change the "Product Code" for patches. For automatic upgrade you don't need to have the older version installed and its required to generate a new "Product Code".
I want new users to download 1.1, old users who get 1.1 to update their curent versions. And I want to generate a patch between 1.0 to 1.1 for the automatic update.
Seems as if this is impossible as I need a new product code for the new version to work, but I can not have a new product code for the patch to work?
My suggestion is to use "File->Save As" option after you change the "Product Version" or generate a new "Product Code". In this way you will keep the older version of your package.
So, what is the best way to handle upgrades/patches. Always upgrade with the full version?
If your package is not too big then you can use the automatically upgrade. Else my suggestion is to use patches for minor updates.
Regards,
Gigi
__________________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com
FOLLOW US
Get the latest news in Application Packaging