I have a setup project put together in Visual Studio, which also includes SQL Server Express installation. I also put the installer (SQLEXPR_x86_ENU.exe) in the installer.
I start the installer as an administrator, which not only installs my software, but with an option that you can set whether or not SQL Server Express is also installed. When this option is selected, the SQL Server Express installer starts automatically. When the SQL Server installer checks the global rules, it writes the following error (I attached a picture).
Failed to set up account privileges.
This is a mistake Just and then Type If launched from my installer Install SQL Server Express.
If you run SQLEXPR_x86_ENU.exe directly, in the same way as sysadmin, the error will not be displayed and SQL Server can be installed.
this is And my sysadmin has the settings as shown here. Let’s say if you install SQL Server directly, it won’t show an error until…
The question is: what could be the problem with my installer. It’s as if you’re not giving sysadmin rights, while the installer starts… Do I need to make any additional settings in Setup Project?
W.