Příkazy pro instalaci programu Simple Web Server 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 terreng.SimpleWebServer -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id terreng.SimpleWebServer -e --silentwinget uninstall --id terreng.SimpleWebServer -e --silentPodle instalátoru
64bit · EXE (NSIS) · en-US
Tichá instalace
Simple-Web-Server-Installer-1.2.17-x64.exe /SVlastní složka
Simple-Web-Server-Installer-1.2.17-x64.exe /S /D=C:\Apps\simple-web-server- Klíč odinstalace v registru
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\23822fba-268b-5b93-8102-7e5b091f1f0c
ARM64 · EXE (NSIS) · en-US
Tichá instalace
Simple-Web-Server-Installer-1.2.17-arm64.exe /SVlastní složka
Simple-Web-Server-Installer-1.2.17-arm64.exe /S /D=C:\Apps\simple-web-server- Klíč odinstalace v registru
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\23822fba-268b-5b93-8102-7e5b091f1f0c
32bit · EXE (NSIS) · en-US
Tichá instalace
Simple-Web-Server-Installer-1.2.17-ia32.exe /SVlastní složka
Simple-Web-Server-Installer-1.2.17-ia32.exe /S /D=C:\Apps\simple-web-server- Klíč odinstalace v registru
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\23822fba-268b-5b93-8102-7e5b091f1f0c
PowerShell: stáhnout, ověřit, nainstalovat
Stáhne oficiální soubor, ověří SHA256 a program nainstaluje v tichém režimu.
install-simple-web-server.ps1
$url = 'https://github.com/terreng/simple-web-server/releases/download/v1.2.17/Simple-Web-Server-Installer-1.2.17-x64.exe'
$sha256 = 'A52C9CAB4513BA2831D2982CEC9D032E34CC2DF44A996E7D90E746D474390C3D'
$file = Join-Path $env:TEMP 'Simple-Web-Server-Installer-1.2.17-x64.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-simple-web-server.ps1
$url = 'https://github.com/terreng/simple-web-server/releases/download/v1.2.17/Simple-Web-Server-Installer-1.2.17-arm64.exe'
$sha256 = 'A31530A7132B0EC89F34F98AD1EF57EB174A8E4E3C4C3D3971441E7C31645D04'
$file = Join-Path $env:TEMP 'Simple-Web-Server-Installer-1.2.17-arm64.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-simple-web-server.ps1
$url = 'https://github.com/terreng/simple-web-server/releases/download/v1.2.17/Simple-Web-Server-Installer-1.2.17-ia32.exe'
$sha256 = '859CBDDEEEFC2306857C85569D6CCE99E866B02290B244AE3CB16E1404CE5701'
$file = Join-Path $env:TEMP 'Simple-Web-Server-Installer-1.2.17-ia32.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