Load order of merge modules ? - 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!

vermefr
Posts: 10
Joined: Thu Jul 26, 2007 2:57 pm

Load order of merge modules ?

Hello,

Is there any mean to make merge modules install in a particular order ?
For example, I would like one merge module overwrites a file that another merge module installed before...

Thanks in advance.
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Hi,

Please note that a merge module is integrated into the MSI at buildtime (it becomes a part of the MSI), therefore you cannot "order" merge modules. You can read more about merge modules here:
http://www.advancedinstaller.com/user-g ... ature.html
http://msdn2.microsoft.com/en-us/library/aa369820.aspx
I would like one merge module overwrites a file that another merge module installed before...
I'm afraid that there isn't a very safe way to do this, however, you have two options:

1) Usually the components contained by a the merge modules are installed based on the order of the merge modules in the "Merge Modules" page. However, it is not guaranteed that the order of the merge modules is the order in which they are installed.

2) You can edit the MSM file with Orca and condition the installation of the component which contains the duplicate file. For this, you go to the "File" table (in Orca) and see which component contains the duplicate file. In the "Component" table you use a false condition for that component.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”