Kommandon för att installera DiskGenius 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 Eassos.DiskGenius -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Eassos.DiskGenius -e --silentwinget uninstall --id Eassos.DiskGenius -e --silentPer installationsfil
64-bitars · EXE (Inno Setup) · Alla användare
Tyst installation
DGEngSetup6001631.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Egen mapp
DGEngSetup6001631.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\diskgenius"- Avinstallationsnyckel i registret
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{2661F2FA-56A7-415D-8196-C4CB3D3ACFFE}_is1
32-bitars · EXE (Inno Setup) · Alla användare
Tyst installation
DGEngSetup6001631.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Egen mapp
DGEngSetup6001631.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\diskgenius"- Avinstallationsnyckel i registret
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{2661F2FA-56A7-415D-8196-C4CB3D3ACFFE}_is1
PowerShell: ladda ner, kontrollera, installera
Laddar ner den officiella filen, kontrollerar dess SHA256 och installerar tyst.
install-diskgenius.ps1
$url = 'https://download2.eassos.com/DGEngSetup6001631.exe'
$sha256 = '30CD3298E44C3E70797909646326D903F741CFAA40C3B6CA341D4D645BF47930'
$file = Join-Path $env:TEMP 'DGEngSetup6001631.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 install-diskgenius.ps1
$url = 'https://download2.eassos.com/DGEngSetup6001631.exe'
$sha256 = '30CD3298E44C3E70797909646326D903F741CFAA40C3B6CA341D4D645BF47930'
$file = Join-Path $env:TEMP 'DGEngSetup6001631.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