This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Knowledge Base
- :
- Create a New Windows User with an MSI Installer without user input.
Subscribe
- Mark as New
- Mark as Read
- Subscribe
- Printer Friendly Page
- Report Inappropriate Content
Create a New Windows User with an MSI Installer without user input.
Create a New Windows User with an MSI Installer without user input.
Synopsis
Adding a New User on the target machine can simply be achieved by adding the "Logon Information Panel and Associated Child Dialogs" Dialog to your project.
The steps below discuss how the same can be achieved without end user input.
Discussion
These steps will create a New User on the target machine in the Administrators group:
1. Add "Logon Information Panel and Associated Child Dialogs".
Adding this Dialog box creates the necessary custom actions required to create a new account.
In the dialog view Right click "All Dialogs" select "New Dialog" and select "Logon Information Panel and Associated Child Dialogs" from the list.When prompted add this after "InstallWelcome"
2. Change the "Next" and "Back" buttons on the "Install Welcome" and "License Agreement" dialogs to skip the "Logon Information Panel and Associated Child Dialogs" therefore effectively hiding it from view.
3. Set the following 3 properties in the Property Manager:
ISNetApiLogonUsername = [%COMPUTERNAME]\NEWUSER
ISNetApiLogonPassword = password1
ISNetApiLogonGroup = Administrators
4. Build and launch the installer as an Administrator.
No ratings