Příkazy pro instalaci programu Worktree Manager bez dotazů, jeho odinstalaci a detekci v nástrojích pro nasazení. Příkaz je uveden jen tehdy, když je přesně známý: z manifestu nebo ze zdokumentovaných parametrů technologie instalátoru.
Související návod: Parametry tiché instalace: MSI, NSIS, Inno Setup · Odinstalace programu přes registr nebo PowerShell
Přes winget
PowerShell
winget install --id guoyongchang.WorktreeManager -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id guoyongchang.WorktreeManager -e --silentwinget uninstall --id guoyongchang.WorktreeManager -e --silentPodle instalátoru
64bit · EXE (NSIS) · Všichni uživatelé
Tichá instalace
Worktree-Manager-v0.20261012.110304-Windows-setup.exe /SVlastní složka
Worktree-Manager-v0.20261012.110304-Windows-setup.exe /S /D=C:\Apps\worktree-manager- Klíč odinstalace v registru
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Worktree Manager
PowerShell: stáhnout, ověřit, nainstalovat
Stáhne oficiální soubor, ověří SHA256 a program nainstaluje v tichém režimu.
install-worktree-manager.ps1
$url = 'https://github.com/guoyongchang/worktree-manager/releases/download/v0.20261012.110304/Worktree-Manager-v0.20261012.110304-Windows-setup.exe'
$sha256 = '157D0CC0999646260551DB26C5EF4BEFCC60769BC63D8FCD7CB8284AE563EA7D'
$file = Join-Path $env:TEMP 'Worktree-Manager-v0.20261012.110304-Windows-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 '/S' -Wait