The exact silent switches the Microsoft OLE DB Driver for SQL Server installer accepts, plus a one-line command you can paste into a script, Intune Win32 app, or Configuration Manager package.
msiexec.exe /i msoledbsql.msi /qn IACCEPTMSOLEDBSQLLICENSETERMS=YES
Run from the directory containing msoledbsql.msi. Download the installer from the Direct link below first.
| Architecture | Scope | Type | Silent switches | Source |
|---|---|---|---|---|
| x64 | - | MSI WiX | Declared by publisher | |
| x64 | - | MSI WiX | Declared by publisher | |
| x64 | - | MSI WiX | Declared by publisher | |
| x64 | - | MSI WiX | Declared by publisher | |
| x64 | - | MSI WiX | Declared by publisher | |
| x64 | - | MSI WiX | Declared by publisher | |
| x64 | - | MSI WiX | Declared by publisher | |
| x64 | - | MSI WiX | Declared by publisher | |
| x64 | - | MSI WiX | Declared by publisher | |
| x64 | - | MSI WiX | Declared by publisher | |
| x64 | - | MSI WiX | Declared by publisher | |
| x64 | - | MSI WiX | Declared by publisher | |
| x64 | - | MSI WiX | Declared by publisher |
/S for NSIS, /quiet /norestart for MSI).Prefer the winget route? See the full Microsoft OLE DB Driver for SQL Server install page.