Kommandon för att installera openage 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 SFTtech.openage -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id SFTtech.openage -e --silentwinget uninstall --id SFTtech.openage -e --silentPer installationsfil
64-bitars · EXE (NSIS)
Tyst installation
openage-v0.4.0-amd64-installer.exe /SEgen mapp
openage-v0.4.0-amd64-installer.exe /S /D=C:\Apps\openage32-bitars · EXE (NSIS)
Tyst installation
openage-v0.4.0-x86-installer.exe /SEgen mapp
openage-v0.4.0-x86-installer.exe /S /D=C:\Apps\openagePowerShell: ladda ner, kontrollera, installera
Laddar ner den officiella filen, kontrollerar dess SHA256 och installerar tyst.
install-openage.ps1
$url = 'https://github.com/SFTtech/openage/releases/download/v0.4.0/openage-v0.4.0-amd64-installer.exe'
$sha256 = 'F0BEC28E8873DD21D1C3A5247BCA527A9681AF3CF1A83B30214309B0BB1F36BB'
$file = Join-Path $env:TEMP 'openage-v0.4.0-amd64-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 '/S' -Wait install-openage.ps1
$url = 'https://github.com/SFTtech/openage/releases/download/v0.4.0/openage-v0.4.0-x86-installer.exe'
$sha256 = 'A447F1BD0EAE91306FDA78CCEA2700A293A7B5EB6045115C26816F134CAF432E'
$file = Join-Path $env:TEMP 'openage-v0.4.0-x86-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 '/S' -Wait