Příkazy pro instalaci programu Diffinity bez dotazů, jeho odinstalaci a detekci v nástrojích pro nasazení. Příkaz je uveden jen tehdy, když je přesně známý: z manifestu nebo ze zdokumentovaných parametrů technologie instalátoru.
Související návod: Parametry tiché instalace: MSI, NSIS, Inno Setup · Odinstalace programu přes registr nebo PowerShell
Přes 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 --silentPodle instalátoru
64bit · EXE (NSIS) · Všichni uživatelé
Tichá instalace
diffinityInstaller.exe /SVlastní složka
diffinityInstaller.exe /S /D=C:\Apps\diffinity- Klíč odinstalace v registru
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Diffinity
PowerShell: stáhnout, ověřit, nainstalovat
Stáhne oficiální soubor, ověří SHA256 a program nainstaluje v tichém režimu.
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