Mergemodule Folder configuration - 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!

BrianRHobbs
Posts: 20
Joined: Tue Jun 24, 2008 11:13 am

Mergemodule Folder configuration

Hi There,

I've been trying to configure some standard MergeModules (in particular the MSVC 71 libraries). Basically, when it installs, I want the actual DLL's to go into a subfolder of my application dir, so I configure the mergemodule folder like so:

Feature: "MainFeature"
Folder: "APPDIR\Fred"

But, when I install, the DLL that is extract from the merge module is placed in APPDIR, not in the "fred" subfolder I've specified. Has anyone else seen this behaviour? I know that this mergemodule is configurable as a colleague of mine has done it with install shield and had it working correctly.

Thanks in advance,

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

Re: Mergemodule Folder configuration

Hi,

I cannot reproduce this behavior on my test machine. Can you please send us the AIP of the merge module and the AIP of the main project to support at advancedinstaller dot com so we can investigate it?

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
BrianRHobbs
Posts: 20
Joined: Tue Jun 24, 2008 11:13 am

Re: Mergemodule Folder configuration

Hi Cosmin - will do. But just so you're aware, the merge module is a 3rd party merge module (from installshield I believe), not one created with AdvancedInstaller.

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

Re: Mergemodule Folder configuration

Hi,

The merge module you are using was created by Microsoft. Also, the parent folder of this merge module cannot be redirected (this is the way it was designed).

A solution for this is to import the merge module into your project instead of adding it in the "Merge Modules" page. This way you can move the resources to any folder you want. Another solution would be to edit the merge module with Orca in order to set it to install in the folder you want.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
BrianRHobbs
Posts: 20
Joined: Tue Jun 24, 2008 11:13 am

Re: Mergemodule Folder configuration

Hi There,

So, I've done as you've suggested, but it seems there may be a bug in your import merge module code. All of the DLL's I've extracted this way are not being recognised by windows as valid DLL's (the quickest way to check is to r-click on the file and look for a version tab on the file properties).

Am I missing something here, or is this a bug?

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

Re: Mergemodule Folder configuration

Hi Brian,

This behavior is caused by a bug in Advanced Installer which will be fixed in the next version (it is scheduled for release in the near future). Thank you for bringing this to our attention.

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

Return to “Common Problems”