Commands for installing Diffinity 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 TrueHumanDesign.Diffinity -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id TrueHumanDesign.Diffinity -e --silentwinget uninstall --id TrueHumanDesign.Diffinity -e --silentBy installer
64-bit · EXE (NSIS) · All users
Silent install
diffinityInstaller.exe /SCustom folder
diffinityInstaller.exe /S /D=C:\Apps\diffinity- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Diffinity
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-diffinity.ps1
$url = 'https://truehumandesign.se/download/diffinityInstaller.exe'
$sha256 = '53F2E76B4FFBF1F89D126E3C75C4D9B2F7E6A0950E58FB7B115B28D273BD1BCC'
$file = Join-Path $env:TEMP 'diffinityInstaller.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