Kommandon för att installera Loreo 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 LoreoInc.Loreo -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id LoreoInc.Loreo -e --silentwinget uninstall --id LoreoInc.Loreo -e --silentPer installationsfil
64-bitars · EXE (NSIS) · Aktuell användare · en-US
Tyst installation
Loreo_2.0.12_x64-setup.exe /SEgen mapp
Loreo_2.0.12_x64-setup.exe /S /D=C:\Apps\loreoPowerShell: ladda ner, kontrollera, installera
Laddar ner den officiella filen, kontrollerar dess SHA256 och installerar tyst.
install-loreo.ps1
$url = 'https://github.com/farrokh/loreo-releases/releases/download/v2.0.12/Loreo_2.0.12_x64-setup.exe'
$sha256 = '5C335946BB4A497361F1A3B26245FAE8C1F9DF2FA1A8E6747D92D3D6B2EDF981'
$file = Join-Path $env:TEMP 'Loreo_2.0.12_x64-setup.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