免互動安裝Clipp、解除安裝,以及在部署工具中偵測安裝狀態所用的指令。只列出確定可用的指令:來自資訊清單,或是安裝程式技術的官方預設參數。
相關教學: 靜默安裝參數總整理:MSI、NSIS、Inno Setup · 用登錄檔或PowerShell解除安裝程式
使用winget
PowerShell
winget install --id martona.clipp -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id martona.clipp -e --silentwinget uninstall --id martona.clipp -e --silent依安裝檔
64位元 · MSIX
靜默安裝
Add-AppxPackage -Path clipp-windows-amd64.msix解除安裝
Get-AppxPackage -Name Clipp | Remove-AppxPackageARM64 · MSIX
靜默安裝
Add-AppxPackage -Path clipp-windows-arm64.msix解除安裝
Get-AppxPackage -Name Clipp | Remove-AppxPackagePowerShell:下載、驗證、安裝
下載官方檔案,驗證SHA256後靜默安裝。
install-clipp.ps1
$url = 'https://github.com/martona/clipp/releases/download/v1.5.0.160/clipp-windows-amd64.msix'
$sha256 = '545EBEDB3B8C315E660FDC4F63A3EE98AE11E3D615370CACAEF780F7D7D3B47A'
$file = Join-Path $env:TEMP 'clipp-windows-amd64.msix'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Add-AppxPackage -Path $file install-clipp.ps1
$url = 'https://github.com/martona/clipp/releases/download/v1.5.0.160/clipp-windows-arm64.msix'
$sha256 = '1D79A01FC9B7C9E48333D4B32DC40EF093E3C1EA4772CA28AB0340EAB08357A0'
$file = Join-Path $env:TEMP 'clipp-windows-arm64.msix'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Add-AppxPackage -Path $file