Kommandon för att installera OpenChrom 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 Lablicate.OpenChrom -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Lablicate.OpenChrom -e --silentwinget uninstall --id Lablicate.OpenChrom -e --silentPer installationsfil
64-bitars · EXE (NSIS) · en-US
Tyst installation
OpenChrom_1.6.43_setup_x64.exe /SEgen mapp
OpenChrom_1.6.43_setup_x64.exe /S /D=C:\Apps\openchromARM64 · EXE (NSIS) · en-US
Tyst installation
OpenChrom_1.6.43_setup_ARM64.exe /SEgen mapp
OpenChrom_1.6.43_setup_ARM64.exe /S /D=C:\Apps\openchromPowerShell: ladda ner, kontrollera, installera
Laddar ner den officiella filen, kontrollerar dess SHA256 och installerar tyst.
install-openchrom.ps1
$url = 'https://products.lablicate.com/openchrom/1.6.43/OpenChrom_1.6.43_setup_x64.exe'
$sha256 = '8255E7EFF34B293B78697F581848E28E8F311FA83F82A5F6DD77FE6B338650F3'
$file = Join-Path $env:TEMP 'OpenChrom_1.6.43_setup_x64.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-openchrom.ps1
$url = 'https://products.lablicate.com/openchrom/1.6.43/OpenChrom_1.6.43_setup_ARM64.exe'
$sha256 = 'C9570E0E83A2833116A8E4583B2D02C8FA7CCD737E30067236CEC8F5DCAC2BF0'
$file = Join-Path $env:TEMP 'OpenChrom_1.6.43_setup_ARM64.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