Best Practice to patch a chained installation - 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!

Maverick
Posts: 54
Joined: Mon Aug 18, 2008 12:11 pm

Best Practice to patch a chained installation

In a setup with several features lets say 5 different features, each choosen feature calls another setup as a chained installation.
Now lets say I need to patch feature 1 and 3 which are setups by its own.
Do I have to build a patch for the setup 1 and 3 and a patch for the lets call it master setup?

Or do I only have to build a patch for the master setup and work with the Patch family options?

Does the patch recognise if on a installation only feature 1 is installed and will it patch only that feature?

Is there a how to or something special for patching chained installations? I know the How to patch article.

Regards

Gary
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Best Practice to patch a chained installation

Hi Gary,
In a setup with several features lets say 5 different features, each choosen feature calls another setup as a chained installation.
Now lets say I need to patch feature 1 and 3 which are setups by its own.
If you want to have other setup packages to appear as features in your main setup you need to add them as prerequisites. By default they will be feature-based prerequisites,
this making them to appear in the list of features.
Do I have to build a patch for the setup 1 and 3 and a patch for the lets call it master setup?
Yes, you will need to have difference patch projects for both of them. Then create a new version of the main package that has them added as prerequisites too.
Patch family options?
The patch family is used in other purposes. In your case you have totally different products, Windows Installer cannot make the appropriate connections between them in order for the patch to work as you have said.
Does the patch recognise if on a installation only feature 1 is installed and will it patch only that feature? Is there a how to or something special for patching chained installations?
I'm afraid this is not possible, Windows Installer cannot handle patching for chained packages.

A patch can apply only to certain MSI package, not to a chain installation. For a better understanding of the patching process I recommend the following tutorial written by us.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”