Kommandon för att installera DSView utan frågor, ta bort programmet igen och identifiera det i distributionsverktyg. Ett kommando visas bara när det är säkert: från manifestet eller som installationsteknikens dokumenterade standard.
Relaterad guide: Parametrar för tyst installation: MSI, NSIS, Inno · Avinstallera program via registret eller PowerShell
Med 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 --silentPer installationsfil
64-bitars · EXE (NSIS) · Alla användare
Tyst installation
DSView_v1.3.2_x64_setup.exe /SEgen mapp
DSView_v1.3.2_x64_setup.exe /S /D=C:\Apps\dsview- Avinstallationsnyckel i registret
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\DSView
64-bitars · EXE (NSIS) · Alla användare · zh-CN
Tyst installation
DSView_v1.3.2_x64_setup.exe /SEgen mapp
DSView_v1.3.2_x64_setup.exe /S /D=C:\Apps\dsview- Avinstallationsnyckel i registret
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\DSView
PowerShell: ladda ner, kontrollera, installera
Laddar ner den officiella filen, kontrollerar dess SHA256 och installerar tyst.
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