Kommandon för att installera Core 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 ManticoreGames.Core -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id ManticoreGames.Core -e --silentwinget uninstall --id ManticoreGames.Core -e --silentPer installationsfil
64-bitars · EXE (WiX Burn)
Tyst installation
CoreLauncherInstall.exe /quiet /norestartPowerShell: ladda ner, kontrollera, installera
Laddar ner den officiella filen, kontrollerar dess SHA256 och installerar tyst.
install-core.ps1
$url = 'https://manticoreprod.azureedge.net/builds/CoreLauncherInstall.exe'
$sha256 = '69CBC014B759A1DA9694E6CA31BE802EB50B3EF75FBCD08EA7241415B6B54A7D'
$file = Join-Path $env:TEMP 'CoreLauncherInstall.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 '/quiet /norestart' -Wait