Kommandon för att installera Active@ Boot Disk 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 LSoftTechnologies.ActiveBootDisk -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id LSoftTechnologies.ActiveBootDisk -e --silentwinget uninstall --id LSoftTechnologies.ActiveBootDisk -e --silentPer installationsfil
64-bitars · EXE (Inno Setup) · Alla användare · en-US
Tyst installation
BootDiskDemo-Setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Egen mapp
BootDiskDemo-Setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\active-boot-disk"- Avinstallationsnyckel i registret
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{9770BCC6-C50D-41D7-AE07-5B796D630052}_is1
- Installationsmapp
- %ProgramFiles%\LSoft Technologies\Active@ Boot Disk
- DisplayVersion
- 25
PowerShell: ladda ner, kontrollera, installera
Laddar ner den officiella filen, kontrollerar dess SHA256 och installerar tyst.
install-active-boot-disk.ps1
$url = 'https://software.lsoft.net/BootDiskDemo-Setup.exe'
$sha256 = '6DAC65BC531FEFACCADDCE794C8C0072996E5E73D7D983DC673CB4FC3CF3B20E'
$file = Join-Path $env:TEMP 'BootDiskDemo-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 '/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-' -Wait