Windows installer using the NT AUTHORITY\\SYSTEM instead of login user
I have a windows installer, which is creating a database as a part of the installation process. While installing the application CREATE DATABASE process is failing because the windows installer using a wrong user. It is using NT AUTHORITY\SYSTEM instead of using the login user. NT AUTHORITY\SYSTEM user does not have permission to create a database. Is there any way to force the installer to use the login user? Using Windows 10 environment with VS 2017 and MS Visual Studio 2017 Installer Projects. The short answer is that you can't do this in a Visual Studio setup that is an InstallAllUsers