Příkazy pro instalaci programu DSView 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 DreamSourceLab.DSView -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id DreamSourceLab.DSView -e --silentwinget uninstall --id DreamSourceLab.DSView -e --silentPodle instalátoru
64bit · EXE (NSIS) · Všichni uživatelé
Tichá instalace
DSView_v1.3.2_x64_setup.exe /SVlastní složka
DSView_v1.3.2_x64_setup.exe /S /D=C:\Apps\dsview- Klíč odinstalace v registru
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\DSView
64bit · EXE (NSIS) · Všichni uživatelé · zh-CN
Tichá instalace
DSView_v1.3.2_x64_setup.exe /SVlastní složka
DSView_v1.3.2_x64_setup.exe /S /D=C:\Apps\dsview- Klíč odinstalace v registru
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\DSView
PowerShell: stáhnout, ověřit, nainstalovat
Stáhne oficiální soubor, ověří SHA256 a program nainstaluje v tichém režimu.
install-dsview.ps1
$url = 'https://www.dreamsourcelab.com/software/DSView_v1.3.2_x64_setup.exe'
$sha256 = '6109EDFB66EBCCADC3725ACDA6F7C4E73D1A8022FEB7D9774130CC2F51ED6D14'
$file = Join-Path $env:TEMP 'DSView_v1.3.2_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 '/S' -Wait install-dsview.ps1
$url = 'https://dreamsourcelab.cn/software/DSView_v1.3.2_x64_setup.exe'
$sha256 = '6109EDFB66EBCCADC3725ACDA6F7C4E73D1A8022FEB7D9774130CC2F51ED6D14'
$file = Join-Path $env:TEMP 'DSView_v1.3.2_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 '/S' -Wait