Setting the Default Product Destination Folder (INSTALLDIR)

InstallShield 2016 Express Edition

Your project’s INSTALLDIR property serves as the default folder for all of your product’s files. Its value is assigned to the Windows Installer folder property INSTALLDIR, which is the default feature destination folder.

The default value for INSTALLDIR is:

[ProgramFilesFolder]Company Name\Product Name

To set a product’s INSTALLDIR property:

1. In the View List under Organize Your Setup, click General Information.
2. To use a built-in Windows Installer directory as part of your path: In the INSTALLDIR setting, click the ellipsis button (...) . The Set INSTALLDIR dialog box opens. In the Destination Directories box, select a destination folder.

As an alternative, you can manually enter the path in the INSTALLDIR setting.

Note • Selecting a new folder property in the Set INSTALLDIR dialog box overwrites the contents of the value in the INSTALLDIR setting. You can specify a subfolder of any folder property by separating subfolders with a backslash—for example, [ProgramFilesFolder]My Company\Program.

When specifying a destination folder, you cannot include a space after the closing square bracket (]), or before or after a backslash (\). For example, the following paths are not valid:

[ProgramFilesFolder] \YourCompany\default

[ProgramFilesFolder]YourCompany\ default

When you use an installer folder property such as INSTALLDIR, you are specifying a default value. An end user could change this value by setting a property when launching Msiexec.exe at the command line or by selecting a new destination folder for a feature in the Custom Setup dialog.

See Also