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.
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.