免互動安裝vfox、解除安裝,以及在部署工具中偵測安裝狀態所用的指令。只列出確定可用的指令:來自資訊清單,或是安裝程式技術的官方預設參數。
相關教學: 靜默安裝參數總整理:MSI、NSIS、Inno Setup · 用登錄檔或PowerShell解除安裝程式
使用winget
PowerShell
winget install --id version-fox.vfox -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id version-fox.vfox -e --silentwinget uninstall --id version-fox.vfox -e --silent依安裝檔
64位元 · EXE(Inno Setup) · 所有使用者
靜默安裝
vfox_1.1.0_windows_setup_x86_64.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-自訂安裝資料夾
vfox_1.1.0_windows_setup_x86_64.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\vfox"- 解除安裝登錄機碼
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\vfox-fc742fc3-7013-49b7-adcb-96f2d6ddbda0_is1
- 安裝資料夾
- %ProgramFiles%\vfox
64位元 · ZIP
免安裝(可攜版)
ARM64 · EXE(Inno Setup) · 所有使用者
靜默安裝
vfox_1.1.0_windows_setup_aarch64.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-自訂安裝資料夾
vfox_1.1.0_windows_setup_aarch64.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\vfox"- 解除安裝登錄機碼
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\vfox-fc742fc3-7013-49b7-adcb-96f2d6ddbda0_is1
- 安裝資料夾
- %ProgramFiles%\vfox
ARM64 · ZIP
免安裝(可攜版)
32位元 · EXE(Inno Setup) · 所有使用者
靜默安裝
vfox_1.1.0_windows_setup_i386.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-自訂安裝資料夾
vfox_1.1.0_windows_setup_i386.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\vfox"- 解除安裝登錄機碼
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\vfox-fc742fc3-7013-49b7-adcb-96f2d6ddbda0_is1
- 安裝資料夾
- %ProgramFiles(x86)%\vfox
32位元 · ZIP
免安裝(可攜版)
PowerShell:下載、驗證、安裝
下載官方檔案,驗證SHA256後靜默安裝。
install-vfox.ps1
$url = 'https://github.com/version-fox/vfox/releases/download/v1.1.0/vfox_1.1.0_windows_setup_x86_64.exe'
$sha256 = '2D2179C10F4500692F4E5C06070329EE33FB2F58501E874516F549585F7A556C'
$file = Join-Path $env:TEMP 'vfox_1.1.0_windows_setup_x86_64.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-vfox.ps1
$url = 'https://github.com/version-fox/vfox/releases/download/v1.1.0/vfox_1.1.0_windows_setup_aarch64.exe'
$sha256 = '18E500824830CC350944B92D45B8F2D1B6ED33328E933DB9FE365A5A8DAC1C4B'
$file = Join-Path $env:TEMP 'vfox_1.1.0_windows_setup_aarch64.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-vfox.ps1
$url = 'https://github.com/version-fox/vfox/releases/download/v1.1.0/vfox_1.1.0_windows_setup_i386.exe'
$sha256 = '07FDF2BB28D979834D2FB3435EE87CAC8364BA2BBED4316BC32C388ACFA47CBF'
$file = Join-Path $env:TEMP 'vfox_1.1.0_windows_setup_i386.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