Creating Merge Modules
InstallAnywhere 2021
For each build configuration, you can specify whether you want to create a merge module installer.
To create merge modules:
1. | In the Advanced Designer, on the Build page, click Build Installers. The Build Installers view opens. |
2. | Click the Build Configurations tab. |
3. | In the Select Build Configuration list, select the build configuration for which you want to specify distribution options. |
4. | Click the Distribution subtab. |
5. | In the Merge Module/Template Options area, select the Build Merge Module/Template check box. |
6. | If you want to produce merge modules that correspond with each build target on the Build Targets tab, select the Optimize Merge Module/Template Size by Platform check box. If you select this check box, InstallAnywhere creates separate merge modules for each platform. Each contain only the resources that are needed for that specific platform. |
Important:If the merge modules will be imported into another installer, do not select the Optimize Merge Module/Template Size by Platform check box. Importing a merge module requires a non-optimized merge module.
7. | If you want to create a Merge Module that can be installed but not altered, select the Read Only check box. |
By selecting the Read Only check box, you are locking the merge module, which prevents it from being opened, used as a template, or being merged into an installer. The only way a read-only merge module can be added to an installer project is through the Install Merge Module action. A read-only merge module can be installed only as a self-contained installer unit.
Tip:To learn how to specify which variables in the merge module can be set by the parent installer and which variables in the parent installer can be set by the merge module, see Advertising Merge Module Installer Variables.
Important:The name of the artifacts that are built for merge module projects is determined by the value of the Project Name setting in the General Settings view on the Project page of the Advanced Designer.
See Also
Specifying Build Distribution Options
Creating CD-ROM/DVD Installers
Advertising Merge Module Installer Variables
Specifying How to Show the Progress of a Merge Module Installation