Příkazy pro instalaci programu Map Windower 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 BenBurwood.MapWindower -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id BenBurwood.MapWindower -e --silentwinget uninstall --id BenBurwood.MapWindower -e --silentPodle instalátoru
64bit · EXE (NSIS) · en-US
Tichá instalace
map-windower_0.1.6_x64-setup.exe /SVlastní složka
map-windower_0.1.6_x64-setup.exe /S /D=C:\Apps\map-windowerPowerShell: stáhnout, ověřit, nainstalovat
Stáhne oficiální soubor, ověří SHA256 a program nainstaluje v tichém režimu.
install-map-windower.ps1
$url = 'https://github.com/ben-burwood/window/releases/download/0.1.6/map-windower_0.1.6_x64-setup.exe'
$sha256 = 'C5B6846FD9360C482C9FF6F82FAE1746688D35720F051F291FF5AC4F50F5A713'
$file = Join-Path $env:TEMP 'map-windower_0.1.6_x64-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