Installing merge module into multiple features, how? - 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!

stecy
Posts: 9
Joined: Wed Aug 29, 2012 3:22 pm

Installing merge module into multiple features, how?

My install project is for a suite of applications so I defined multiple features where each feature is installed in its own folder.

I would like to install a merge module to all of those feature's folders. However, AI only allows the merge module to be imported once and hence I can only install it on only one feature.

How should I proceed?

Thank you!
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Installing merge module into multiple features, how?

Hello and welcome to Advanced Installer forums,

Thank you for your interest in Advanced Installer.

In order to achieve what you want you can take a look on our "Merge modules with more features" thread.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
stecy
Posts: 9
Joined: Wed Aug 29, 2012 3:22 pm

Re: Installing merge module into multiple features, how?

Interesting, but I fail to see how the merge module will be extracted... From what I understand, the merge module file would be copied as is in the destination folder.

I tried to add the merge module to the hidden feature but AI doesn't allow it (it does nothing) from the Merge Modules page.
Should I add it as a file in the feature? How?

Could you elaborate a little more on the solution?
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Installing merge module into multiple features, how?

Hello,

I'm afraid I misunderstand what you want. In order to achieve your scenario you can add the related merge module to one feature. Then you can create your own custom action which will copy the merge module resource files from the related feature folder to the others features folders. Also, the related custom action should be scheduled after "Install Execution Stage" -> "Add Resources" action group and should run as deferred with no impersonation. You can take a look on "Copy a File VBScript code" article in order to obtain what you want.

Let us know if this helps, otherwise give us more details about your scenario (maybe exemplify).

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”