Upravit

Sdílet prostřednictvím


Custom Action Hidden Target Option

Use the following option flags to specify that the installer not write the value entered into the Target field of the CustomAction table into the log. To set the option add the value in this table to the value in the Type field of the CustomAction table.

Constant Hexadecimal Decimal Description
(none) 0x0000 0 The installer may write the value in the Target column of the CustomAction table into the log file.
msidbCustomActionTypeHideTarget 0x2000 8192 The installer is prevented from writing the value in the Target column of the CustomAction table into the log file. The CustomActionData property is also not logged when the installer executes the custom action.
Because the installer sets the value of CustomActionData from a property with the same name as the custom action, that property must be listed in the MsiHiddenProperties Property to prevent its value from appearing in the log.

For more information, see Preventing Confidential Information from Being Written into the Log File

Custom Action Reference

About Custom Actions

Using Custom Actions