Run DQSInstaller.exe to Complete Data Quality Server Installation
Applies to: SQL Server - Windows only
To complete the Data Quality Server installation, you must run the DQSInstaller.exe file after installing SQL Server. This topic describes how to run the DQSInstaller.exe from the Start screen, Start menu, Windows Explorer, or Command Prompt; you can choose any of the ways to run the DQSInstaller.exe file.
Prerequisites
You must have selected Data Quality Services under Database Engine Services on the Feature Selection page in the SQL Server setup while installing SQL Server, and must have completed the SQL Server installation. For more information, see Install Data Quality Services.
Your Windows user account must be a member of the sysadmin fixed server role in the SQL Server database engine instance.
You must be logged on as a member of the Administrators group on the computer where you are running DQSInstaller.exe.
Run DQSInstaller.exe from Start Screen, Start Menu or Windows Explorer
On the computer where you chose to install Data Quality Server, run the DQSInstaller.exe file using any of the following as applicable:
Start screen: On the Start screen, click Data Quality Server Installer.
Start menu: On the taskbar, click Start, point to All Programs, click Microsoft SQL Server. Under Microsoft SQL Server, click Data Quality Services, and then click Data Quality Server Installer.
Windows Explorer: Locate the DQSInstaller.exe file. If you installed the default instance of SQL Server, the DQSInstaller.exe file will be available at C:\Program Files\Microsoft SQL Server\MSSQL13.MSSQLSERVER\MSSQL\Binn. Double-click the DQSInstaller.exe file.
A command prompt window appears that shows the status of the installation. You will notice the following three things:
The installer creates an installation log file, DQS_install.log, which contains information about the actions performed on running the DQSInstaller.exe file. If you installed the default instance of SQL Server, the DQS_install.log file will be available at C:\Program Files\Microsoft SQL Server\MSSQL13.MSSQLSERVER\MSSQL\Log.
The installer uses the default server collation, SQL_Latin1_General_CP1_CI_AS, for installing Data Quality Server.
Important
You can provide a different server collation value for installing Data Quality Server only if you are running DQSInstaller.exe from command prompt. For more information, see Run DQSInstaller.exe from Command Prompt later in this topic.
The installer checks for any pending restarts on your computer owing to any updates that have been recently installed on your computer. If any pending restarts are found, a message appears to notify you about the same, and you can choose to continue or abort the installation by pressing Y or N respectively. We recommend that if there are any pending restarts, you must abort the installation, restart your computer, and then run the DQSInstaller.exe again.
You are prompted to type a password for the database master key. The database master key is required to encrypt the reference data service provider keys that will be stored in the DQS_MAIN database when you set up reference data providers in Data Quality Services (DQS) later.
Important
The password must be at least 8 characters long, and must contain characters from three of the following four categories: English upper case letter (A, B, C,... Z), English lowercase letter (a, b, c,... z), Numeral (0, 1, 2,... 9), and nonalphanumeric or special character (~!@#$%^&*()_-+=|\{}[]:;"'<>,.?/). For example: P@ssword. The installer will prompt you to enter another password if the current password does not match the requirement.
Provide a password, confirm the password, and then press ENTER to continue with the installation.
Important
You must retain the password specified for the database master key because you will require it while restoring the DQS databases from a backup in future, if you choose to do so. For more information about restoring DQS databases, see Backing Up and Restoring DQS Databases.
If a Master Data Services database is present in the same SQL Server instance as Data Quality Server, the installer creates a user mapped to the Master Data Services login, and grants it the dqs_administrator role on the DQS_MAIN database. For information about installing Master Data Services and creating a Master Data Services database, see Install Master Data Services.
A completion message is displayed after the installation has completed successfully. Press any key to close the command prompt window.
Run DQSInstaller.exe from Command Prompt
You can run DQSInstaller.exe from command prompt using the following command-line parameters:
DQSInstaller.exe Parameter | Description | Sample Syntax |
---|---|---|
-collation | The server collation to be used for installing Data Quality Server. DQS supports only case-insensitive collation. If you specify a case-sensitive collation, the installer attempts to use the case-insensitive version of the specified collation. If there is no case-insensitive version, or if the collation is unsupported by SQL, the Data Quality Server installation fails. If a server collation is not specified, the default collation, SQL_Latin1_General_CP1_CI_AS, is used. |
dqsinstaller.exe -collation <collation_name> |
-upgradedlls | Skips recreating the DQS databases (DQS_MAIN, DQS_PROJECTS, and DQS_STAGING_DATA), and only updates the SQL Common Language Runtime (SQLCLR) assemblies used by DQS in the SQL Server database. For more information, see Upgrade SQLCLR Assemblies After .NET Framework Update |
dqsinstaller.exe -upgradedlls |
-exportkbs | Export all the knowledge bases to a DQS backup file (.dqsb). You must also specify the full path and file name where you want to export all the knowledge bases. For more information, see Export and Import DQS Knowledge Bases Using DQSInstaller.exe. |
dqsinstaller.exe -exportkbs <path><filename> For example, dqsinstaller.exe -exportkbs c:\DQSBackup.dqsb |
-importkbs | Import all the knowledge bases from a DQS backup file (.dqsb) after completing the Data Quality Server installation. You must also specify the full path and file name from where you want to import all the knowledge bases. For more information, see Export and Import DQS Knowledge Bases Using DQSInstaller.exe. |
dqsinstaller.exe -importkbs <path><filename> For example, dqsinstaller.exe -importkbs c:\DQSBackup.dqsb |
-upgrade | Upgrades DQS databases schema. You must use this parameter after you have installed a SQL Server update on a previously configured DQS instance. For more information, see Upgrade DQS Databases Schema After Installing SQL Server Update. | dqsinstaller.exe -upgrade |
-uninstall | Uninstalls Data Quality Server from the current SQL Server instance. You can also export all the knowledge bases in the existing Data Quality Server installation to a DQS backup file (.dqsb), and then uninstall Data Quality Server. For more information, see Export and Import DQS Knowledge Bases Using DQSInstaller.exe. ** Important ** If you uninstall Data Quality Server from a SQL Server instance using the -uninstall command line parameter, all the DQS objects are deleted as part of the uninstall process. You do not have to delete them manually after uninstalling Data Quality Server as mentioned in Remove Data Quality Server Objects. |
To just uninstall Data Quality Server:dqsinstaller.exe -uninstall To export all the knowledge bases to a file, and then uninstall Data Quality Server: dqsinstaller.exe -uninstall <path><filename> For example, dqsinstaller.exe -uninstall c:\DQSBackup.dqsb |
To run DQSInstaller.exe from Command Prompt:
Start Command Prompt.
At the command prompt, change your directory to the location where DQSInstaller.exe is available. If you installed the default instance of SQL Server, the DQSInstaller.exe file will be available at C:\Program Files\Microsoft SQL Server\MSSQL13.MSSQLSERVER\MSSQL\Binn:
cd C:\Program Files\Microsoft SQL Server\MSSQL13.MSSQLSERVER\MSSQL\Binn
At the command prompt, run DQSInstaller.exe with or without command-line parameters:
Without Command-Line Parameter: Type
dqsinstaller.exe
, and then press ENTER.With Command-Line Parameter: Type the required command as mentioned in the table above, and then press ENTER.
The required actions are performed based on the specified command. If you just chose to install Data Quality Server without any command-line parameters, rest of the steps are same as described in steps 2-6 in the previous section, Run DQSInstaller.exe from Start Screen, Start Menu or Windows Explorer.
Next Steps
Grant appropriate DQS roles to users based on their work profile. See Grant DQS Roles to Users.
If Data Quality Server will be accessed remotely from Data Quality Client, enable the TCP/IP protocol using SQL Server Configuration Manager on this computer.
Make sure that you can access your source data for the DQS operations, and can export the processed data to a table in a database. See Access Data for the DQS Operations.
See Also
Install Data Quality Services
Upgrade SQLCLR Assemblies After .NET Framework Update
Export and Import DQS Knowledge Bases Using DQSInstaller.exe