免互動安裝Libation、解除安裝,以及在部署工具中偵測安裝狀態所用的指令。只列出確定可用的指令:來自資訊清單,或是安裝程式技術的官方預設參數。
相關教學: 靜默安裝參數總整理:MSI、NSIS、Inno Setup · 用登錄檔或PowerShell解除安裝程式
使用winget
PowerShell
winget install --id rmcrackan.Libation -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id rmcrackan.Libation -e --silentwinget uninstall --id rmcrackan.Libation -e --silent依安裝檔
64位元 · EXE(Inno Setup)
靜默安裝
Libation.13.5.0-windows-chardonnay-x64-setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-自訂安裝資料夾
Libation.13.5.0-windows-chardonnay-x64-setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\libation"64位元 · ZIP
免安裝(可攜版)
ARM64 · EXE(Inno Setup)
靜默安裝
Libation.13.5.0-windows-chardonnay-arm64-setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-自訂安裝資料夾
Libation.13.5.0-windows-chardonnay-arm64-setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\libation"ARM64 · ZIP
免安裝(可攜版)
PowerShell:下載、驗證、安裝
下載官方檔案,驗證SHA256後靜默安裝。
install-libation.ps1
$url = 'https://github.com/rmcrackan/Libation/releases/download/v13.5.0/Libation.13.5.0-windows-chardonnay-x64-setup.exe'
$sha256 = 'D8DB3CB7DE4D938E9FE5786C49A7488D53F00087AB6677F57A0C55A11565F99F'
$file = Join-Path $env:TEMP 'Libation.13.5.0-windows-chardonnay-x64-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 '/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-' -Wait install-libation.ps1
$url = 'https://github.com/rmcrackan/Libation/releases/download/v13.5.0/Libation.13.5.0-windows-chardonnay-arm64-setup.exe'
$sha256 = '9767644D427A6C29872989387D3B7A5F7E7FA5D54E561AAE3CE516861C155FDA'
$file = Join-Path $env:TEMP 'Libation.13.5.0-windows-chardonnay-arm64-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 '/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-' -Wait