Kommandoer til at installere Throne uden spørgsmål, fjerne programmet igen og finde det fra udrulningsværktøjer. En kommando vises kun, når den er sikker: fra manifestet eller som installationsteknologiens dokumenterede standard.
Relateret vejledning: Parametre til lydløs installation: MSI, NSIS, Inno · Afinstaller et program via registreringsdatabasen
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 --silentPr. installationsfil
64-bit · EXE (Inno Setup) · Aktuel bruger · en-US
Lydløs installation
Throne-1.4.2-windows-universal-installer.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Egen mappe
Throne-1.4.2-windows-universal-installer.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\throne"ARM64 · EXE (Inno Setup) · Aktuel bruger · en-US
Lydløs installation
Throne-1.4.2-windows-universal-installer.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Egen mappe
Throne-1.4.2-windows-universal-installer.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\throne"32-bit · EXE (Inno Setup) · Aktuel bruger · en-US
Lydløs installation
Throne-1.4.2-windows-universal-installer.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Egen mappe
Throne-1.4.2-windows-universal-installer.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\throne"PowerShell: download, kontrollér, installér
Downloader den officielle fil, kontrollerer dens SHA256 og installerer lydløst.
install-throne.ps1
$url = 'https://github.com/throneproj/Throne/releases/download/1.4.2/Throne-1.4.2-windows-universal-installer.exe'
$sha256 = 'F77A0F87EC936C0F8EF862BE4ED1F58BA3E23F52C4D34BC21C5677433ECA6AB5'
$file = Join-Path $env:TEMP 'Throne-1.4.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.4.2/Throne-1.4.2-windows-universal-installer.exe'
$sha256 = 'F77A0F87EC936C0F8EF862BE4ED1F58BA3E23F52C4D34BC21C5677433ECA6AB5'
$file = Join-Path $env:TEMP 'Throne-1.4.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.4.2/Throne-1.4.2-windows-universal-installer.exe'
$sha256 = 'F77A0F87EC936C0F8EF862BE4ED1F58BA3E23F52C4D34BC21C5677433ECA6AB5'
$file = Join-Path $env:TEMP 'Throne-1.4.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