Reputation: 1759
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
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