Ordres per instal·lar DSView sense preguntes, desinstal·lar-lo i detectar-lo des d’eines de desplegament. Només es mostra una ordre quan és segura: la que indica el manifest o el valor per defecte documentat de la tecnologia de l’instal·lador.
Guia relacionada: Instal·lació silenciosa: MSI, NSIS, Inno Setup · Desinstal·lar un programa amb el registre o PowerShell
Amb 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 instal·lador
64 bits · EXE (NSIS) · Tots els usuaris
Instal·lació silenciosa
DSView_v1.3.2_x64_setup.exe /SUna altra carpeta
DSView_v1.3.2_x64_setup.exe /S /D=C:\Apps\dsview- Clau de desinstal·lació al registre
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\DSView
64 bits · EXE (NSIS) · Tots els usuaris · zh-CN
Instal·lació silenciosa
DSView_v1.3.2_x64_setup.exe /SUna altra carpeta
DSView_v1.3.2_x64_setup.exe /S /D=C:\Apps\dsview- Clau de desinstal·lació al registre
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\DSView
PowerShell: baixar, verificar, instal·lar
Baixa el fitxer oficial, en comprova l’SHA256 i l’instal·la en mode silenciós.
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