psqlodbc을(를) 확인 창 없이 설치하고 제거하며, 배포 도구에서 감지하기 위한 명령어입니다. 매니페스트에 기재되어 있거나 설치 기술의 문서화된 기본값처럼 확실한 명령어만 표시합니다.
관련 가이드: 무인 설치(자동 설치) 옵션 총정리 · 레지스트리·PowerShell로 프로그램 제거
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 --silent설치 파일별
64비트 · EXE (WiX Burn) · 모든 사용자
무인 설치
psqlodbc-setup.exe /quiet /norestart제거
msiexec /x {0B75C5A6-6206-41CB-959B-B28DF3973761} /qn /norestart- MSI 제품 코드
- {0b75c5a6-6206-41cb-959b-b28df3973761}
- 제거 레지스트리 키
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{0b75c5a6-6206-41cb-959b-b28df3973761}
64비트 · MSI · 모든 사용자
무인 설치
msiexec /i psqlodbc_x64.msi /qn /norestart로그 파일 저장
msiexec /i psqlodbc_x64.msi /qn /norestart /l*v "%TEMP%\psqlodbc-install.log"제거
msiexec /x {6DA86BD0-4D3B-446C-8D93-B4F6048A3626} /qn /norestart- MSI 제품 코드
- {6DA86BD0-4D3B-446C-8D93-B4F6048A3626}
- 제거 레지스트리 키
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{6DA86BD0-4D3B-446C-8D93-B4F6048A3626}
32비트 · EXE (WiX Burn) · 모든 사용자
무인 설치
psqlodbc-setup.exe /quiet /norestart제거
msiexec /x {0B75C5A6-6206-41CB-959B-B28DF3973761} /qn /norestart- MSI 제품 코드
- {0b75c5a6-6206-41cb-959b-b28df3973761}
- 제거 레지스트리 키
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{0b75c5a6-6206-41cb-959b-b28df3973761}
32비트 · MSI · 모든 사용자
무인 설치
msiexec /i psqlodbc_x86.msi /qn /norestart로그 파일 저장
msiexec /i psqlodbc_x86.msi /qn /norestart /l*v "%TEMP%\psqlodbc-install.log"제거
msiexec /x {636505EB-0D71-4B8A-82AE-D0AAEBA0DCE3} /qn /norestart- MSI 제품 코드
- {636505EB-0D71-4B8A-82AE-D0AAEBA0DCE3}
- 제거 레지스트리 키
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{636505EB-0D71-4B8A-82AE-D0AAEBA0DCE3}
PowerShell: 다운로드, 검증, 설치
공식 파일을 다운로드하고 SHA256을 확인한 뒤 무인 설치합니다.
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