Kommandon för att installera Throne 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 Throneproj.Throne -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Throneproj.Throne -e --silentwinget uninstall --id Throneproj.Throne -e --silentPer installationsfil
64-bitars · EXE (Inno Setup) · Aktuell användare · en-US
Tyst installation
Throne-1.3.2-windows-universal-installer.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Egen mapp
Throne-1.3.2-windows-universal-installer.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\throne"ARM64 · EXE (Inno Setup) · Aktuell användare · en-US
Tyst installation
Throne-1.3.2-windows-universal-installer.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Egen mapp
Throne-1.3.2-windows-universal-installer.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\throne"32-bitars · EXE (Inno Setup) · Aktuell användare · en-US
Tyst installation
Throne-1.3.2-windows-universal-installer.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Egen mapp
Throne-1.3.2-windows-universal-installer.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\throne"PowerShell: ladda ner, kontrollera, installera
Laddar ner den officiella filen, kontrollerar dess SHA256 och installerar tyst.
install-throne.ps1
$url = 'https://github.com/throneproj/Throne/releases/download/1.3.2/Throne-1.3.2-windows-universal-installer.exe'
$sha256 = '4DF6A09EABC19A797B7E94B49790C63E3E5A90749898B5749F496D2A44E9C0C7'
$file = Join-Path $env:TEMP 'Throne-1.3.2-windows-universal-installer.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-throne.ps1
$url = 'https://github.com/throneproj/Throne/releases/download/1.3.2/Throne-1.3.2-windows-universal-installer.exe'
$sha256 = '4DF6A09EABC19A797B7E94B49790C63E3E5A90749898B5749F496D2A44E9C0C7'
$file = Join-Path $env:TEMP 'Throne-1.3.2-windows-universal-installer.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-throne.ps1
$url = 'https://github.com/throneproj/Throne/releases/download/1.3.2/Throne-1.3.2-windows-universal-installer.exe'
$sha256 = '4DF6A09EABC19A797B7E94B49790C63E3E5A90749898B5749F496D2A44E9C0C7'
$file = Join-Path $env:TEMP 'Throne-1.3.2-windows-universal-installer.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