Patch installation problem - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

Alastair
Posts: 42
Joined: Tue Jul 14, 2009 9:54 am
Location: UK

Patch installation problem

Hi,

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 Image Properties
    • Target version = 4.1.11
    • Product must match base database is not ticked
    • Product Version Relationship is Installed version = base version
I'd be grateful if you would indicate what may be going wrong.

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
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: Patch installation problem

Hello Alastair,

Please keep in mind that identical Product Codes are recommended when creating a patch. This being said, doing a full MSI upgrade is indeed the correct approach if the purpose is to use a patch-based upgrade method in the future.

Best regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/
Alastair
Posts: 42
Joined: Tue Jul 14, 2009 9:54 am
Location: UK

Re: Patch installation problem

Hi Gabriel,

Thanks for this information.

Kind Regards,
Alastair.

Return to “Common Problems”