Befehle, um psqlodbc ohne Rückfragen zu installieren, wieder zu entfernen und in Verteilungswerkzeugen zu erkennen. Ein Befehl erscheint nur, wenn er feststeht: aus dem Manifest oder als dokumentierter Standard der jeweiligen Installer-Technik.
Passende Anleitung: Silent-Install-Parameter: MSI, NSIS, Inno Setup · Programm über Registry oder PowerShell deinstallieren
Mit winget
PowerShell
winget install --id PostgreSQL.psqlODBC -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id PostgreSQL.psqlODBC -e --silentwinget uninstall --id PostgreSQL.psqlODBC -e --silentNach Installer
64-Bit · EXE (WiX Burn) · Alle Benutzer
Stille Installation
psqlodbc-setup.exe /quiet /norestartDeinstallation
msiexec /x {0B75C5A6-6206-41CB-959B-B28DF3973761} /qn /norestart- MSI-Produktcode
- {0b75c5a6-6206-41cb-959b-b28df3973761}
- Deinstallationsschlüssel in der Registry
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{0b75c5a6-6206-41cb-959b-b28df3973761}
64-Bit · MSI · Alle Benutzer
Stille Installation
msiexec /i psqlodbc_x64.msi /qn /norestartProtokoll schreiben
msiexec /i psqlodbc_x64.msi /qn /norestart /l*v "%TEMP%\psqlodbc-install.log"Deinstallation
msiexec /x {6DA86BD0-4D3B-446C-8D93-B4F6048A3626} /qn /norestart- MSI-Produktcode
- {6DA86BD0-4D3B-446C-8D93-B4F6048A3626}
- Deinstallationsschlüssel in der Registry
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{6DA86BD0-4D3B-446C-8D93-B4F6048A3626}
32-Bit · EXE (WiX Burn) · Alle Benutzer
Stille Installation
psqlodbc-setup.exe /quiet /norestartDeinstallation
msiexec /x {0B75C5A6-6206-41CB-959B-B28DF3973761} /qn /norestart- MSI-Produktcode
- {0b75c5a6-6206-41cb-959b-b28df3973761}
- Deinstallationsschlüssel in der Registry
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{0b75c5a6-6206-41cb-959b-b28df3973761}
32-Bit · MSI · Alle Benutzer
Stille Installation
msiexec /i psqlodbc_x86.msi /qn /norestartProtokoll schreiben
msiexec /i psqlodbc_x86.msi /qn /norestart /l*v "%TEMP%\psqlodbc-install.log"Deinstallation
msiexec /x {636505EB-0D71-4B8A-82AE-D0AAEBA0DCE3} /qn /norestart- MSI-Produktcode
- {636505EB-0D71-4B8A-82AE-D0AAEBA0DCE3}
- Deinstallationsschlüssel in der Registry
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{636505EB-0D71-4B8A-82AE-D0AAEBA0DCE3}
PowerShell: herunterladen, prüfen, installieren
Lädt die offizielle Datei herunter, prüft den SHA256-Hash und installiert still.
install-psqlodbc.ps1
$url = 'https://github.com/postgresql-interfaces/psqlodbc/releases/download/REL-18_00_0005/psqlodbc-setup.exe'
$sha256 = 'F79DA87394AD6337C676DBEC444597BF679216100BBE2A497676FB6D8C8AA7D5'
$file = Join-Path $env:TEMP 'psqlodbc-setup.exe'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process -FilePath $file -ArgumentList '/quiet /norestart' -Wait install-psqlodbc.ps1
$url = 'https://github.com/postgresql-interfaces/psqlodbc/releases/download/REL-18_00_0005/psqlodbc_x64.msi'
$sha256 = '56345B91E41302271A7ECFC4F4819F49B0FE9FC061BD2B0D72338D81D30597A9'
$file = Join-Path $env:TEMP 'psqlodbc_x64.msi'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process msiexec.exe -ArgumentList '/i', ('"{0}"' -f $file), '/qn', '/norestart' -Wait install-psqlodbc.ps1
$url = 'https://github.com/postgresql-interfaces/psqlodbc/releases/download/REL-18_00_0005/psqlodbc-setup.exe'
$sha256 = 'F79DA87394AD6337C676DBEC444597BF679216100BBE2A497676FB6D8C8AA7D5'
$file = Join-Path $env:TEMP 'psqlodbc-setup.exe'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process -FilePath $file -ArgumentList '/quiet /norestart' -Wait install-psqlodbc.ps1
$url = 'https://github.com/postgresql-interfaces/psqlodbc/releases/download/REL-18_00_0005/psqlodbc_x86.msi'
$sha256 = '54564528317FD03C4176B837B9E21A38DB7B0B3FDD5300AA1440BD6E6C50B79A'
$file = Join-Path $env:TEMP 'psqlodbc_x86.msi'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process msiexec.exe -ArgumentList '/i', ('"{0}"' -f $file), '/qn', '/norestart' -Wait