Authoring the User Interface for Password Input

For each password that must be entered by the user, add an edit control on a dialog that stores the value of the password into a property. This edit control should have the Password Control Attribute. This specifies that the property entered is a password and prevents the installer from writing the property to the log file.

The control attributes for the password edit control are msidbControlAttributesVisible, msidbControlAttributesEnabled, and msidbControlAttributesPasswordInput (1 + 2 + 2097152). The X, Y, Width, Height, and Control_Next depend on the layout of the control on the dialog.

Control Table



Continue to Securing the installation.