

One of the quirks is that all custom actions run in deferred mode and in system context (running as LocalSystem) with no impersonation of the launching user. However, these projects have a number of limitations and quirks, as you have discovered. Technical Cause: I am no expert on Visual Studio Installer Projects - it has to be said - every time. Just to try to show how the WiX Burn markup works: Commercial tools such as Advanced Installer and Installshield are viable options - they feature support for this that is built-in (features vary depending on version of prerequisite).īurn Bundle-Mockup ( inspiration, more inspiration): Installer Project-generated MSI afterwards. Server setup.exe first, and then kick off your Visual Studio 2) Create a basic WiX Burn Bundle to kick off the SQL Summary: In essence, the below states: 1) Disable the custom action to run the SQL Server setup.exe in your current Throw new Exception($"SQL Server Express installation failed. Run the web installer and choose 3rd option "Download Media".
#VISUAL STUDIO 2017 SQL SERVER PROJECT DOWNLOAD#
Download "SQLServer2016-SSEI-Expr.exe" web installer from NOTE: Change below instance name to get unique instances (or uninstall previous instance) Note that Installer Project's pre-requisite is not working for us because we're having to create a named instance of SQL Server Express and we're not able to see how we can pass commandline arguments to pre-requisite. Is this a limitation of Installer project or am I missing something? Will we have better luck with AdvancedInstaller?

To continue, use an account with both of these rights. The right to manage auditing and the security log and the right toĭebug programs. Of the following rights: the right to back up files and directories, The account that is running SQL Server Setup does not have one or all Whenever it fails from Installer project, it fails with below message: I notice that current user when msi runs is NT AUTHORITY\SYSTEM. BeforeInstall event (Both Everyone and Just Me): Fails.
#VISUAL STUDIO 2017 SQL SERVER PROJECT INSTALL#
