InstallShield 2016
Project • This information applies to Basic MSI projects.
For information on multiple-instance support for InstallScript projects, see Running an InstallScript Installation Multiple Times.
Each instance must have a unique product code. Therefore, when you add an instance to a product configuration in the Releases view, InstallShield automatically adds the ProductCode property, with a new GUID value, to the pane on the right for that instance.
You should also set the ProductName property to a different name for each instance. This helps to make instances easily distinguishable from each other in Add or Remove Programs.
You can set additional properties for an instance. For example, you may want to define instance-specific properties that you use in conditions for components. As another example, you may want to set a property for each instance to define an instance-specific location for certain files or registry entries.
If you want to create major upgrades that can be applied to each individual instance, set the UpgradeCode property to a different GUID for each instance. Note that when you add a major upgrade item to your project in the Upgrades view, ensure that you select the Products sharing my Upgrade Code option on the Common tab for the major upgrade item.
Tip • InstallShield automatically sets the value of the InstanceId property with a different identifier for each instance in a product configuration. To learn more, see Naming an Instance.
To set a property for an instance:
1. | In the View List under Media, click Releases. |
2. | In the Releases explorer, click the product configuration that contains the instance. |
3. | Click the Multiple Instances tab. |
4. | In the Instances explorer, click the instance. |
5. | In the grid in the right pane, click the field in the Property column of the last row, and then enter the name of the property that you want to set. |
6. | In the Value column, enter the property value that you want to be associated with the current instance. |
To set the value of a property for the base instance—the instance that is installed by the base installation package—enter the property and corresponding value in the Property Manager view. To learn more, see Creating Properties in Windows Installer–Based Projects.
See Also
Special Considerations for Multiple-Instance Support
Multiple Instances Tab for a Product Configuration
InstallShield 2016 Help LibraryAugust 2016 |
Copyright Information | Flexera Software |