Patrick Pirzer
Patrick Pirzer

Reputation: 1759

How to create a new user account with WiX?

I have made a bootstrapper-project with WiX 3.8, including an installation file (WXS) for the prerequisite SQL Server Express. In the InstallCommand-Property of the ExePackage, which i'm using for the installation of SQL Server Express, i set /SQLSVCACCOUNT and /SQLSVCPASSWORD. So i need to create the user account before the installation of the prerequisite.

How and at which place shall this be done?

Upvotes: 0

Views: 2971

Answers (1)

Wim Coenen
Wim Coenen

Reputation: 66733

Use the User element in the Util extension.

If you are unsure about how to use elements defined by extensions, read the How To: Use WiX Extensions topic.

This information is also in a CHM that is installed by the WiX installer in the WiX program files folder.

Upvotes: 1

Related Questions