Kommandon för att installera Streamlity utan frågor, ta bort programmet igen och identifiera det i distributionsverktyg. Ett kommando visas bara när det är säkert: från manifestet eller som installationsteknikens dokumenterade standard.
Relaterad guide: Parametrar för tyst installation: MSI, NSIS, Inno · Avinstallera program via registret eller PowerShell
Med winget
PowerShell
winget install --id Efeyamann.Streamlity -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Efeyamann.Streamlity -e --silentwinget uninstall --id Efeyamann.Streamlity -e --silentPer installationsfil
64-bitars · EXE (Inno Setup) · Aktuell användare
Tyst installation
Streamlity-0.1.2-windows-x64-setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Egen mapp
Streamlity-0.1.2-windows-x64-setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\streamlity"- Avinstallationsnyckel i registret
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{56EA4FDC-4D6A-4DA1-8A54-B7A29F12C5E2}_is1
64-bitars · EXE (Inno Setup) · Alla användare
Tyst installation
Streamlity-0.1.2-windows-x64-setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Egen mapp
Streamlity-0.1.2-windows-x64-setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\streamlity"- Avinstallationsnyckel i registret
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{56EA4FDC-4D6A-4DA1-8A54-B7A29F12C5E2}_is1
PowerShell: ladda ner, kontrollera, installera
Laddar ner den officiella filen, kontrollerar dess SHA256 och installerar tyst.
install-streamlity.ps1
$url = 'https://github.com/Efeyamann/Streamlity/releases/download/v0.1.2/Streamlity-0.1.2-windows-x64-setup.exe'
$sha256 = '1277FE4BE365A5D100D304EAC7FDE9C4E154F79DD56C6274F39F26AAC77AF7C8'
$file = Join-Path $env:TEMP 'Streamlity-0.1.2-windows-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 '/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-' -Wait install-streamlity.ps1
$url = 'https://github.com/Efeyamann/Streamlity/releases/download/v0.1.2/Streamlity-0.1.2-windows-x64-setup.exe'
$sha256 = '1277FE4BE365A5D100D304EAC7FDE9C4E154F79DD56C6274F39F26AAC77AF7C8'
$file = Join-Path $env:TEMP 'Streamlity-0.1.2-windows-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 '/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-' -Wait