Monthly Archives: September 2011

Install SQLExpress using Visual Studio Installer Setup Project

How to install SQL Express using Visual Studio Installer Setup Project?

Here some hint:

  1. Use Commit node at Custom Action Editor
  2. Add a process to call batch file that will call Setup.exe for SQL Server Express.
  3. Or if you don’t want using batch file, you can create another .net application that will call setup.exe for SQL Express.

Note: You can’t directly call SQLExpress Setup.exe from Commit node at Custom Action since Setup Project not allow recursively call msi installation.

Reference: SQL Express Silent Installation with .Net Setup Custom Action

Beside that, still have other way to install SQL Express too. Examples below will install SQL Server during first time you application start.