Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Securing the Installation

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

MsiHiddenProperties TESTUSERPASSWORD;CreateAccount;RemoveAccount;RollbackAccount
SecureCustomProperties TESTUSERPASSWORD


This concludes the sample.



Community Additions

© 2015 Microsoft