Windows Installer Editor Reference
476
Working With Dialogs
z
Let the end user create a new NT user account during installation, if the end user
has the privileges to do so.
z
Let the end user specify an existing NT user account during installation.
z
Populate the properties MYUSERNAME and MYPASSWORD with the logon
information specified by the user.
Although this dialog box captures the logon information, it does not use it in any way or
apply it to your executables or services. You must do that yourself by using the
properties elsewhere in the installation.
Example: To have a service run under the specified user account, you can enter the
property names MYUSERNAME and MYPASSWORD, enclosed in brackets, in the Service
Details dialog box (Installation Expert > Services page). You also can use these
properties as the account to run a Web application (Web Files page).
See also:
Adding the Logon Information Dialog
on page 476
Adding the Logon Information Dialog
The Server Application template (Server Application.msi) contains the Logon
Information dialog box by default. For all other installations, you can add the Logon
Information dialog box by using the New Dialog Wizard in Setup Editor > Dialogs tab.
(In the Wise editor) To create a new installation that contains the
Logon Information dialog box
1. Select File menu > New.
2. In the Categories list, select Predefined Templates.
3. In the Templates/Tools list, select Server Application and click OK.
4. In Setup Editor > Dialogs tab, select the Logon Information dialog and edit the
dialog box text as needed to communicate its purpose to the end user who installs
your application.
(In the Visual Studio integrated editor) To create a new installation
that contains the Logon Information dialog box
1. Select File menu > New > File.
2. In the Categories list, select Wise Files.
3. In the Templates list, select Server Application Project and click Open.
4. In Setup Editor > Dialogs tab, select the Logon Information dialog and edit the
dialog box text as needed to communicate its purpose to the end user who installs
your application.
To add the Logon Information dialog box to any installation
1. In Setup Editor > Dialogs tab, expand the Install Dialogs tree, then expand the
Welcome Dialog Wizard tree.
2. Right-click on a dialog box under the Welcome Dialog Wizard and select New >
Dialog.
3. On the Select Dialog Type dialog box, select Logon Information and click Next.