Příkazy pro instalaci programu OpenWorker 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 AndrewNg.OpenWorker -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id AndrewNg.OpenWorker -e --silentwinget uninstall --id AndrewNg.OpenWorker -e --silentPodle instalátoru
64bit · EXE (NSIS) · Aktuální uživatel
Tichá instalace
OpenWorker-windows-setup.exe /SVlastní složka
OpenWorker-windows-setup.exe /S /D=C:\Apps\openworker- Klíč odinstalace v registru
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\OpenWorker
- Instalační složka
- %LocalAppData%\OpenWorker
64bit · MSI · Všichni uživatelé
Tichá instalace
msiexec /i OpenWorker-windows.msi /qn /norestartZapsat protokol
msiexec /i OpenWorker-windows.msi /qn /norestart /l*v "%TEMP%\openworker-install.log"Odinstalace
msiexec /x {A328C6D3-6FF9-42BF-9732-7B19872F9464} /qn /norestart- Kód produktu MSI
- {A328C6D3-6FF9-42BF-9732-7B19872F9464}
- Klíč odinstalace v registru
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{A328C6D3-6FF9-42BF-9732-7B19872F9464}
- UpgradeCode
- {EE9E0539-FB13-5B97-9B6E-0C18C65E04BC}
PowerShell: stáhnout, ověřit, nainstalovat
Stáhne oficiální soubor, ověří SHA256 a program nainstaluje v tichém režimu.
install-openworker.ps1
$url = 'https://github.com/andrewyng/openworker/releases/download/v0.3.1/OpenWorker-windows-setup.exe'
$sha256 = 'FAB613ED5565708140FF93514A85A49077F46B9D067BBCDDEC484F32FC9F896B'
$file = Join-Path $env:TEMP 'OpenWorker-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 install-openworker.ps1
$url = 'https://github.com/andrewyng/openworker/releases/download/v0.3.1/OpenWorker-windows.msi'
$sha256 = 'F5D787DB754F6A13D3A07ED12A1D04A050005659DB9426D147C149710A33E1C2'
$file = Join-Path $env:TEMP 'OpenWorker-windows.msi'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process msiexec.exe -ArgumentList '/i', ('"{0}"' -f $file), '/qn', '/norestart' -Wait