免互動安裝OpenComic、解除安裝,以及在部署工具中偵測安裝狀態所用的指令。只列出確定可用的指令:來自資訊清單,或是安裝程式技術的官方預設參數。
相關教學: 靜默安裝參數總整理:MSI、NSIS、Inno Setup · 用登錄檔或PowerShell解除安裝程式
使用winget
PowerShell
winget install --id OleguerLlopart.OpenComic -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id OleguerLlopart.OpenComic -e --silentwinget uninstall --id OleguerLlopart.OpenComic -e --silent依安裝檔
64位元 · EXE(NSIS) · 僅目前使用者
靜默安裝
OpenComic.Setup.1.6.5.exe /S自訂安裝資料夾
OpenComic.Setup.1.6.5.exe /S /D=C:\Apps\opencomic- 解除安裝登錄機碼
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\154cd0ec-d314-54a9-9b90-a183060e2b16
64位元 · EXE(NSIS) · 所有使用者
靜默安裝
OpenComic.Setup.1.6.5.exe /S自訂安裝資料夾
OpenComic.Setup.1.6.5.exe /S /D=C:\Apps\opencomic- 解除安裝登錄機碼
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\154cd0ec-d314-54a9-9b90-a183060e2b16
ARM64 · EXE(NSIS) · 僅目前使用者
靜默安裝
OpenComic.Setup.1.6.5.arm64.exe /S自訂安裝資料夾
OpenComic.Setup.1.6.5.arm64.exe /S /D=C:\Apps\opencomic- 解除安裝登錄機碼
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\154cd0ec-d314-54a9-9b90-a183060e2b16
ARM64 · EXE(NSIS) · 所有使用者
靜默安裝
OpenComic.Setup.1.6.5.arm64.exe /S自訂安裝資料夾
OpenComic.Setup.1.6.5.arm64.exe /S /D=C:\Apps\opencomic- 解除安裝登錄機碼
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\154cd0ec-d314-54a9-9b90-a183060e2b16
PowerShell:下載、驗證、安裝
下載官方檔案,驗證SHA256後靜默安裝。
install-opencomic.ps1
$url = 'https://github.com/ollm/OpenComic/releases/download/v1.6.5/OpenComic.Setup.1.6.5.exe'
$sha256 = '8E6AEC54D42A17E130D1B439A8C9AAC67DDD7CE8A0AF5794C73E173A8503B172'
$file = Join-Path $env:TEMP 'OpenComic.Setup.1.6.5.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 '/S' -Wait install-opencomic.ps1
$url = 'https://github.com/ollm/OpenComic/releases/download/v1.6.5/OpenComic.Setup.1.6.5.exe'
$sha256 = '8E6AEC54D42A17E130D1B439A8C9AAC67DDD7CE8A0AF5794C73E173A8503B172'
$file = Join-Path $env:TEMP 'OpenComic.Setup.1.6.5.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 '/S' -Wait install-opencomic.ps1
$url = 'https://github.com/ollm/OpenComic/releases/download/v1.6.5/OpenComic.Setup.1.6.5.arm64.exe'
$sha256 = 'CE103578A747C7A1ED2E45FE08E09584D72914BA96F621E35BD840207D4F1B49'
$file = Join-Path $env:TEMP 'OpenComic.Setup.1.6.5.arm64.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 '/S' -Wait install-opencomic.ps1
$url = 'https://github.com/ollm/OpenComic/releases/download/v1.6.5/OpenComic.Setup.1.6.5.arm64.exe'
$sha256 = 'CE103578A747C7A1ED2E45FE08E09584D72914BA96F621E35BD840207D4F1B49'
$file = Join-Path $env:TEMP 'OpenComic.Setup.1.6.5.arm64.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 '/S' -Wait