honzajic
Posts: 10
Joined: Thu Oct 13, 2011 12:31 pm

Merge modules with more features

Hi,

I would like to ask you if it is possible to add same merge module to more than one feature in Advanced Installer version 8.5?

If not, is there any workaround?

Thank you for your reply in advance.

Regards,
Honza
Bogdan
Posts: 2792
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Merge modules with more features

Hi,

I'm afraid this is not possible, this restriction is imposed by Windows Installer. You cannot include the same merge module multiple times into an MSI package.

The solution is to add this merge module into a separate feature, which does not contain other resources and set this feature as hidden, and not installed by default.
The write your own script, following our example, to control the install state of the feature, based on the install state of other features from your package.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
honzajic
Posts: 10
Joined: Thu Oct 13, 2011 12:31 pm

Re: Merge modules with more features

Hi Bogdan,

Thank you for your reply.
It is good solution for me.

Regards,
Honza
Bogdan
Posts: 2792
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Merge modules with more features

You're welcome Honza.

Have a nice weekend,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”