Click here to Skip to main content
14,734,526 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I need to install SQL Server 2008 SP2 silently (unattended) with a setup project. How can I do it?
I'm using Visual Studio 2008 but I could switch to Visual Studio 2010 if neccesary.
Thanks in advance.
Posted

SQL Server can be installed silently from the command line by using the /Q parameter[^]. So if the Installer allows passing parameters you could do it that way.
   
I'd suggest looking into a SQL Server installation via command line in tandem with the /Q full quiet mode parameter. See here for more.

You can use the System.Diagnostics.Process.Start method to issue commands in DOS-like (more shortcut-like really) fashion. If you are using a .NET Setup Project, you can probably add a Custom Action to do this.
   

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900