Commands for installing Diffusion Studio without prompts, removing it again and detecting it from deployment tools. A command is shown only when it is certain: from the manifest or the installer technology’s documented default.
Related guide: Silent install switches: MSI, NSIS, Inno Setup · Uninstall a program with the registry or PowerShell
With 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 --silentBy installer
64-bit · EXE · Current user
Silent install
Diffusion-Studio-x64-Setup.exe --silent- Uninstall registry key
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\DiffusionStudio
- Install folder
- %LocalAppData%\DiffusionStudio
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
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