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!

TBrame
Posts: 14
Joined: Fri Nov 17, 2006 3:01 pm

Add merge module to a feature?

Hello, is it possible to add a merge module to a specific feature?

Thanks
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi,

Yes, In the "Merge Module" page after you add the merge module (.msm) choose configure from the context menu.

For more details please see:
http://www.advancedinstaller.com/user-g ... tings.html

Regards,
Gigi
______________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com
TBrame
Posts: 14
Joined: Fri Nov 17, 2006 3:01 pm

Thank you for your response, I hadn't seen that option previously. Let me back up a little bit with my question here:

We have two products that we would like to include into our installer. One of which (for discussion's sake "Product 1") has ~27 MB of merge module to be installed. The other ("Product 2") does not require any of these merge modules. We are trying to implement a web based installation where the installation only downloads those files that it needs, so we have it set to compile each separate feature into individual cab files. The merge modules are assigned to "Product 1", but they compile into the msi file as opposed to compiling into the separate cab file for that feature. This means that if a user only wants to install "Product 2", they still have to download the merge modules for "Product 1" (which are now part of the msi).

Is there any way to get these merge modules to compile into the feature-specific cab file instead of compiling into the msi?

Thanks
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi,

Beginning with 4.4 version Advanced Installer support to create one CAB archive per feature. So add the merge modules for the "Product 1" into one feature. Add all components of the "Product 2" in one feature. Now switch to "Media" page and use "One CAB archive per feature" option.

For more details please see:
http://www.advancedinstaller.com/user-guide/media.html
http://www.advancedinstaller.com/user-g ... ation.html

Hope this helps.

Regards,
Gigi
______________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com
TBrame
Posts: 14
Joined: Fri Nov 17, 2006 3:01 pm

Hi,

I did set these options, and I have all of the merge modules added to "Product 1". When the build happens, the size of the "Product 1" feature's cab is 7020 K (this includes the miscellaneous files for "Product 1"). The size of the msi, however is 28216 K (which includes the merge modules for "Product 1"). The problem seems to be that merge modules are not compiling into the cab for the feature they are assigned, they are however, being compiled into the msi.

Thanks
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi,
The problem seems to be that merge modules are not compiling into the cab for the feature they are assigned, they are however, being compiled into the msi.
You have right, currently all the merge modules are merged in the msi database. But we shall consider to change this behavior (we will investigate to see if merge modules can be stored in a cab externally the msi database). I add this on our TODO list and will be available in a future release. Thank you for bringing this to our attention.

Best Regards,
Gigi
______________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com

Return to “Common Problems”