SQL Server express Silent Installation Procedure

Source: Internet
Author: User
Tags sql server express

 

SilentSQL Server 2005There are two possible steps for installation:

1)CreateSetup. iniFile
The template file contained in the SQL Server CD is called template. ini. Create another required ". ini file". This file contains a single [Options] section containing multiple parameters, each involving different functions or configuration settings.

Setup. iniFile structure (the general structure is as follows)

The setting in the red box is used to uninstall the components. If the installation fails, uninstall these components first. Do not "Remove = all" during installation"

2)Run the installer Command Prompt
Enter the following script at the command prompt
Setup.exe/Settings <path to. INI File>

For example:

If the sqlinstall. ini file is in the C: \ sqlsetup folder. Start installation with a silent command:

Setup.exe / Set c: \ sqlsetup \ sqlinstall. ini
Specify the/Qn switch to perform a Silent Installation () or/QB switch without a dialog box. Only the progress dialog box should be displayed.

Note:

Unless otherwise stated, these issues only apply to the installation of a new SQL Server express instance. the installation of the existing SQL native client may fail and roll back. The following error message is displayed: "The installation package of the product Microsoft SQL native client cannot be found. please try to use the installation package "sqlncli. the valid copy of MSI is reinstalled. ". to solve this problem, use "add or delete programs" to uninstall SQL native client.

 

The following shows the Silent Installation result:

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.