I have an application that uses a SQL Server DB, and I wish to deploy SQL Server Express to the target site. How can I automate this so the end-user/installer has minimum exposure to any technicalities of the SQL Server Express installation, even such as choosing an sa password? We’re assuming the end-user can barely operate a mouse.
Share
The exact correct information on how to do this depends on SQL server version you want to install, but in general words you can call the Express installer with the /settings modifier, providing a INI file containing all the relevant configuration parameters you want to apply to that particular installation including SA Password, instance name and things like that.
You can also call the setup with passing all the relevant settings as parameters on the command line, from setup /? for 2008 express (in spanish)
free translation: Unattended full installation example, showing all needed parameters
To perform this actions, you can include the SQL Server Express installation file in your application own installer and call it passing the parameters when appropriate.
You’ll find more information on the SQL Server 2005: Unattended installation article series at database journal.