ISBP04

InstallShield 2016

Project • This information applies to the following project types:

Basic MSI
MSI Database

Messages

Message 1 (Warning)

Dialog [1] Control [2] uses private property [3]. Its value will be unavailable to the execute sequence.

[1] is the name of a dialog in your project, [2] is the name of a control on that dialog, and [3] is the name of a private property that is being set or used by the control.

Message 2 (Warning)

Dialog [1] Control [2] uses insecure custom property [3]. Its value may be unavailable to the execute sequence.

[1] is the name of a dialog in your project, [2] is the name of a control on that dialog, and [3] is the name of a property that is used by that control.

Description

You cannot set a private property in the user interface sequence of the installation and then pass the value of that private property to the execute sequence. Therefore, ISBP04 verifies that your installation does not have any dialog controls that use private properties. If a dialog control does use a private property, warning 1 occurs to alert you that you may need to take steps to allow a property’s value to be passed to the execute sequence.

In addition, if you set a public property in the user interface sequence of an installation that requests elevated privileges for the execute sequence, and you want to pass the property’s value to the execute sequence, the property must be listed as a value for the SecureCustomProperties property, or it must be a restricted public property. Therefore, ISBP04 also verifies that if your installation has dialog controls that use custom public properties, the custom public properties are listed as values for the SecureCustomProperties property. If the custom public properties are not listed in the SecureCustomProperties property, warning 2 occurs to alert you that you may need to take steps to allow a property’s value to be passed to the execute sequence.

Corrective Action

If you do not need to use the property in the execute sequence, you can disregard the warning message. However, if you do need to use the property in this sequence, you need to resolve the warning.

If you need to resolve warning 1, change the private property to a public property. To do so, find the dialog control in the Dialogs view; for the Property property of that control, use all uppercase letters, since public properties must be in all uppercase. Also update all other instances of that property name in your project so that it matches.

If you need to resolve warning 2, open the Property Manager view. For the Value column of the SecureCustomProperties property, add the name of the property that is mentioned in the warning message. If this property contains more than one property, separate each one with a semicolon (;).

See Also