Shyam s
Shyam s

Reputation: 779

how to create a sql express edition installer class

I am creating a winforms application.I want to create a installer program for installing sql express edition in the client computers if sql server is not installed.

How to create installer class to install sql express in the system.and i want to merge the installer program in setup project.

thanks in advance.

Upvotes: 0

Views: 1072

Answers (2)

Dr TJ
Dr TJ

Reputation: 3356

in general, you can send parameters to MSI files. as SQL Express setup file is a MSI file, so you dont need to do it seprately. just in ur setup project execute the setup file and use some parameters to set server name (if u want) and the other things that maybe you need... here are parameters description you can use

Upvotes: 1

jonathanpeppers
jonathanpeppers

Reputation: 26485

Microsoft only supports deploying SQL Server Express by use of their setup.

The only good way to bundle this with your own installer is to bootstrap it (or run their installer from yours). Luckily there are options built-in for this in Visual Studio.

Here is an example.

Upvotes: 1

Related Questions