Příkazy pro instalaci programu DDS Viewer 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 IdeaMK.DDSViewer -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id IdeaMK.DDSViewer -e --silentwinget uninstall --id IdeaMK.DDSViewer -e --silentPodle instalátoru
64bit · EXE (Inno Setup) · Všichni uživatelé
Tichá instalace
ddsviewersetup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Vlastní složka
ddsviewersetup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\dds-viewer"- Klíč odinstalace v registru
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{707333E0-C796-4E2D-B0DA-5A429706C361}_is1
PowerShell: stáhnout, ověřit, nainstalovat
Stáhne oficiální soubor, ověří SHA256 a program nainstaluje v tichém režimu.
install-dds-viewer.ps1
$url = 'https://ddsviewer.com/ddsviewersetup.exe'
$sha256 = '5FDA69DD5C1BF7A17AC024D437913A043FCDE52B261A8B154193BEAE86DEEA64'
$file = Join-Path $env:TEMP 'ddsviewersetup.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 '/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-' -Wait