Specifying the Default Destination Folder for a Merge Module

InstallShield 2019

The value that you enter for the INSTALLDIR setting in the General Information view serves as the default folder for all of your merge module’s files. That is, its value is assigned to the Windows Installer folder property INSTALLDIR, which is the default component destination folder.

If you would like to let the users of your merge module override the default destination directory, enter [TARGETDIR] in the INSTALLDIR setting. To learn more, see Overriding a Merge Module’s Destination.

Other Destination Folder Considerations

Note that each component in your Merge Module project also has a Destination setting. The component’s Destination setting overrides the INSTALLDIR setting in the General Information view. Therefore, if you want all of your merge module’s files to be installed by default to the merge module’s destination folder, enter [INSTALLDIR] for all of your components’ Destination settings.