I have created a Patch which is intended to "upgrade" a product from v4.1.11 to v4.1.12 and the key point is that the product codes in the two MSI files that the Patch is based on are different.
The problem is that after the Patch has run to completion the version remains at v4.1.11 both in terms of Add\Remove Programs and the version of the installed exe file, but no error messages were generated, and the log file says that it completed successfully.
The only error when running the Patch is that after stepping through the Welcome Screen to the Ready to Install Screen, the first time I click on the Install button I am taken back to the Welcome Screen. When I've reached the Ready to Install screen for the second time, clicking on the Install button starts the installation and as mentioned above, the Patch appears to complete successfully but the new version is not actually installed.
I selected the following options in the Patch project :-
- Patch Details Screen
Allow Product code mismatches is ticked
Images Screen
Upgraded Image Properties- Upgraded version = 4.1.12
- Target version = 4.1.11
- Product must match base database is not ticked
- Product Version Relationship is Installed version = base version
I realise that normally the product codes should be the same in MSIs used to build patches but I am trying to define the best way of moving a customer on to the Patching version of the installer, i.e. can I use a Patch to move a customer on to patching or is it better to use a full MSI upgrade which has the patching Product Code to establish the ability to Patch. We need to support the ability to upgrade without the use of Patches so, if my understanding is correct, we need two parallel lines of MSI files, one with different Product Codes that are used to upgrade and one with the same Product Code to support patching.
Would you agree that the best way to move a customer on to the Patching line of MSIs (i.e. they all have the same product code) is to run a full MSI upgrade with an MSI that has the Patching Product Code and only apply Patches after this has been done ?
Kind regards,
Alastair McDonald
FOLLOW US
Get the latest news in Application Packaging