Polecenia do instalacji programu Diffinity bez pytań, do jego usuwania i do wykrywania w narzędziach wdrożeniowych. Polecenie jest podane tylko wtedy, gdy jest pewne: pochodzi z manifestu albo z udokumentowanych ustawień domyślnych technologii instalatora.
Powiązany poradnik: Parametry cichej instalacji: MSI, NSIS, Inno Setup · Odinstalowanie programu przez rejestr lub PowerShell
Przez 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 --silentWedług instalatora
64-bit · EXE (NSIS) · Wszyscy użytkownicy
Cicha instalacja
diffinityInstaller.exe /SWłasny folder
diffinityInstaller.exe /S /D=C:\Apps\diffinity- Klucz odinstalowania w rejestrze
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Diffinity
PowerShell: pobierz, zweryfikuj, zainstaluj
Pobiera oficjalny plik, sprawdza jego SHA256 i instaluje go po cichu.
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