Příkazy pro instalaci programu ScreenSteps 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 ScreenSteps.ScreenSteps -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id ScreenSteps.ScreenSteps -e --silentwinget uninstall --id ScreenSteps.ScreenSteps -e --silentPodle instalátoru
32bit · MSI · Všichni uživatelé · en-US
Tichá instalace
msiexec /i ScreenSteps.msi /qn /norestartZapsat protokol
msiexec /i ScreenSteps.msi /qn /norestart /l*v "%TEMP%\screensteps-install.log"Odinstalace
msiexec /x {453CBDFE-A2DE-4176-900E-922E53B62432} /qn /norestart- Kód produktu MSI
- {453CBDFE-A2DE-4176-900E-922E53B62432}
- Klíč odinstalace v registru
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{453CBDFE-A2DE-4176-900E-922E53B62432}
- UpgradeCode
- {00288B09-8E02-4D6B-943E-1DEFFF055D66}
- Instalační složka
- %ProgramFiles(x86)%\ScreenSteps 4.0
PowerShell: stáhnout, ověřit, nainstalovat
Stáhne oficiální soubor, ověří SHA256 a program nainstaluje v tichém režimu.
install-screensteps.ps1
$url = 'https://www.bluemangolearning.com/download/screensteps/4_0/release/ScreenSteps.msi'
$sha256 = '47B54D25F8E123CBBC2B764A5B176898C24E2680F33EC7D5A91BF51E694047A9'
$file = Join-Path $env:TEMP 'ScreenSteps.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