Commando’s om Diffusion Studio zonder vragen te installeren, weer te verwijderen en te detecteren in uitroltools. Een commando staat er alleen als het vaststaat: uit het manifest of als gedocumenteerde standaard van de installertechniek.
Gerelateerde handleiding: Stille installatie-parameters: MSI, NSIS, Inno Setup · Programma verwijderen via register of PowerShell
Met winget
PowerShell
winget install --id DiffusionStudio.Editor -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id DiffusionStudio.Editor -e --silentwinget uninstall --id DiffusionStudio.Editor -e --silentPer installer
64-bits · EXE · Huidige gebruiker
Stille installatie
Diffusion-Studio-x64-Setup.exe --silent- Registersleutel voor verwijderen
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\DiffusionStudio
- Installatiemap
- %LocalAppData%\DiffusionStudio
PowerShell: downloaden, controleren, installeren
Downloadt het officiële bestand, controleert de SHA256-hash en installeert stil.
install-diffusion-studio.ps1
$url = 'https://github.com/diffusionstudio/editor/releases/download/v0.209.0/Diffusion-Studio-x64-Setup.exe'
$sha256 = '24CEF106AC1FB8E3B4D494A46086BBDC472E4A19B9720B6F9675E27FF0F5ED7E'
$file = Join-Path $env:TEMP 'Diffusion-Studio-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 '--silent' -Wait