Muokkaa

Jaa


Securing the Installation

Add all of the Password properties from the CustomUserAccounts table to the MsiHiddenProperties property in the Property table. Add the names of the deferred custom actions to the MsiHiddenProperties property as well. This will prevent the installer from writing the sensitive property values (the passwords) into the log and will ensure these values are not logged when the deferred custom actions use the values as the CustomActionData property.

For the user's password to be available in the Windows Installer service, the password property must be added to the SecureCustomProperties property.

Property Table

Property Value
MsiHiddenProperties TESTUSERPASSWORD;CreateAccount;RemoveAccount;RollbackAccount
SecureCustomProperties TESTUSERPASSWORD

 

This concludes the sample.