Merge Module is overwriting - 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!

tomdom81
Posts: 2
Joined: Mon Aug 18, 2008 2:43 pm

Merge Module is overwriting

Hello,

i have a project set up which includes merge modules. The merge module has a file weboutput.js! The project which i include my merged module has the file weboutput.js too.

Now that the merged module which is installed at last is overwriting my existing weboutput.js from the project!

What can I do? The merged module has all the core scripts including the weboutput.js! I dont want to change the merged module and take the weboutput.js out of there.

So there has to be a poosibility that an option that weboutput.js from the merged module doesnt overwrite the one in my project!

Thanx
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Merge Module is overwriting

Hi,

During the build process, the merge modules in your project is merged with the installation package. After the merge, the package will contain two files: the file in the original package and the file in the merge module. When the installation runs, the files will have the same paths and the ones in the merge module will overwrite the ones in the project (they have a higher sequence so they are installed last).

This behavior is the normal one and it can be avoided only by editing the MSI with Orca (the sequence of the files must be changed and the entries in the "Media" table must be modified). Note that this is not recommended because it may cause problems during the installation of your package. Also, the best solution is to remove the file from the merge module.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
tomdom81
Posts: 2
Joined: Mon Aug 18, 2008 2:43 pm

Re: Merge Module is overwriting

Thank you!

Return to “Common Problems”