Overriding the Destination for a DIM Reference

InstallShield 2016

Project • This information applies to Basic MSI projects.

If you create a DIM project, you have the ability to specify the default location on target systems for the files in the DIM project. The location is typically the value of the property INSTALLDIR or a subfolder of that folder. When you add a DIM reference to a Basic MSI project, you can choose to use the destination location that the author of the DIM project configured, or you can override the location and specify a different location.

To view the default destination that is specified for a DIM reference’s files and override it if appropriate in a Basic MSI project:

1. Open the Basic MSI project that contains the DIM reference.
2. In the View List under Organization, click DIM References.
3. In the DIMs explorer, select the DIM that you want to configure.
4. Click the Build Options tab. The Destination setting shows the value that author of the DIM project configured.
5. To override the default value, specify the appropriate value.

Instead of hard-coding a path, you can enter a directory property as part of the path. To select a directory property, click the ellipsis button (...) in this setting. This enables you to select the appropriate directory from a list, or to create a new directory within a predefined directory. Separate further levels of subdirectories with a backslash—for example, [ProgramFilesFolder]MyApp\Bin.

Note that it is also possible to override destinations at the feature and component levels. For more information, see Setting the Default Product Destination Folder (INSTALLDIR).

See Also