免互動安裝QuickFinder、解除安裝,以及在部署工具中偵測安裝狀態所用的指令。只列出確定可用的指令:來自資訊清單,或是安裝程式技術的官方預設參數。
相關教學: 靜默安裝參數總整理:MSI、NSIS、Inno Setup · 用登錄檔或PowerShell解除安裝程式
使用winget
PowerShell
winget install --id C-PartnerSystemhausGmbH.QuickFinder -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id C-PartnerSystemhausGmbH.QuickFinder -e --silentwinget uninstall --id C-PartnerSystemhausGmbH.QuickFinder -e --silent依安裝檔
32位元 · ZIP · de-DE
靜默安裝
msiexec /i QuickFinder.zip /qn /norestart /qn解除安裝
msiexec /x {30531C42-33C6-4F3E-9AE7-EC1134F4C128} /qn /norestart- MSI產品代碼
- {30531C42-33C6-4F3E-9AE7-EC1134F4C128}
- 解除安裝登錄機碼
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{30531C42-33C6-4F3E-9AE7-EC1134F4C128}
- UpgradeCode
- {F3DA6AAD-C2BE-4314-9E71-B9FE526EA1D5}
- 安裝資料夾
- User's Startup Folder
PowerShell:下載、驗證、安裝
下載官方檔案,驗證SHA256後靜默安裝。
install-quickfinder.ps1
$url = 'https://download.c-partner.com/WinGet/4.4.58/QuickFinder.zip'
$sha256 = '7792005A93B74E70AFD345625A6D292115237CB7911CC2F366B59693060705CC'
$file = Join-Path $env:TEMP 'QuickFinder.zip'
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', '/qn' -Wait