AlexMT
Posts: 26
Joined: Wed Jun 05, 2024 10:40 am

Silent Install and Uninstall parameters for Microsoft ODBC Driver for SQL Server

We made a list of silent install commands for installing the Microsoft ODBC Driver for SQL Server MSI application on multiple stations. Silent uninstall parameters are available too.

About: Microsoft ODBC Driver for SQL Server is a single dynamic-link library (DLL) containing run-time support for applications using native-code APIs to connect to SQL Server.

Application Name: Microsoft ODBC Driver for SQL Server x64
Version: 18.5.2.1
Main Application Website URL: https://learn.microsoft.com/en-us/sql/c ... or-windows
Note: Microsoft Visual C++ 2015-2022 x64 Redistributable is a prerequisite for Microsoft ODBC Driver for SQL Server x64.

MSI Installer (Silent Install):

Code: Select all

msiexec /i  " msodbcsql.msi" /qn /l*v <log_file_path>

MSI Installer (Silent Uninstall):

Code: Select all

msiexec /x {ProductCode} /qn /l*v <log_file_path>


Application Name: Microsoft ODBC Driver for SQL Server x86
Version: 18.5.2.1
Main Application Website URL: https://learn.microsoft.com/en-us/sql/c ... or-windows
Note: Microsoft Visual C++ 2015-2022 x86 Redistributable is a prerequisite for Microsoft ODBC Driver for SQL Server x86.

MSI Installer (Silent Install):

Code: Select all

msiexec /i  " msodbcsql.msi" /qn /l*v <log_file_path>

MSI Installer (Silent Uninstall):

Code: Select all

msiexec /x {ProductCode} /qn /l*v <log_file_path>

Return to “Silent Install Command Line”