Kommandon för att installera Lore 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 EpicGames.Lore -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id EpicGames.Lore -e --silentwinget uninstall --id EpicGames.Lore -e --silentPer installationsfil
64-bitars · MSI
Tyst installation
msiexec /i lore-v0.12.0-x86_64-pc-windows-msvc.msi /qn /norestartSkriv en logg
msiexec /i lore-v0.12.0-x86_64-pc-windows-msvc.msi /qn /norestart /l*v "%TEMP%\lore-install.log"Avinstallation
msiexec /x {35938CA2-2CCC-404A-90A5-A87A08371D9A} /qn /norestart- MSI-produktkod
- {35938CA2-2CCC-404A-90A5-A87A08371D9A}
- Avinstallationsnyckel i registret
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{35938CA2-2CCC-404A-90A5-A87A08371D9A}
- UpgradeCode
- {5E168163-CA1F-4765-AA60-1E3CFEF7C826}
64-bitars · ZIP
Kräver ingen installation (portabel)
PowerShell: ladda ner, kontrollera, installera
Laddar ner den officiella filen, kontrollerar dess SHA256 och installerar tyst.
install-lore.ps1
$url = 'https://github.com/EpicGames/lore/releases/download/v0.12.0/lore-v0.12.0-x86_64-pc-windows-msvc.msi'
$sha256 = '310B64F8075F8C956CB9A4D0DF0F706BB4B0CEDB49C38B85B3ED20E044273A82'
$file = Join-Path $env:TEMP 'lore-v0.12.0-x86_64-pc-windows-msvc.msi'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process msiexec.exe -ArgumentList '/i', ('"{0}"' -f $file), '/qn', '/norestart' -Wait