Ordres per instal·lar DSH-Decktop 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 JustGenius-s.DSHDesktop -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id JustGenius-s.DSHDesktop -e --silentwinget uninstall --id JustGenius-s.DSHDesktop -e --silentPer instal·lador
64 bits · EXE (NSIS) · Usuari actual
Instal·lació silenciosa
DSH-Desktop.Setup.0.2.0.exe /SUna altra carpeta
DSH-Desktop.Setup.0.2.0.exe /S /D=C:\Apps\dsh-decktop- Clau de desinstal·lació al registre
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\239d4e5c-394e-5607-bf11-8b5229505789
64 bits · EXE (NSIS) · Tots els usuaris
Instal·lació silenciosa
DSH-Desktop.Setup.0.2.0.exe /SUna altra carpeta
DSH-Desktop.Setup.0.2.0.exe /S /D=C:\Apps\dsh-decktop- Clau de desinstal·lació al registre
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\239d4e5c-394e-5607-bf11-8b5229505789
PowerShell: baixar, verificar, instal·lar
Baixa el fitxer oficial, en comprova l’SHA256 i l’instal·la en mode silenciós.
install-dsh-decktop.ps1
$url = 'https://github.com/JustGenius-s/DSH-Desktop/releases/download/v0.2.0/DSH-Desktop.Setup.0.2.0.exe'
$sha256 = 'D08A195070FBD32D0CE2282A129145E758BFE2A28A86C0FD6F2EB2B3C6BE20CA'
$file = Join-Path $env:TEMP 'DSH-Desktop.Setup.0.2.0.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-dsh-decktop.ps1
$url = 'https://github.com/JustGenius-s/DSH-Desktop/releases/download/v0.2.0/DSH-Desktop.Setup.0.2.0.exe'
$sha256 = 'D08A195070FBD32D0CE2282A129145E758BFE2A28A86C0FD6F2EB2B3C6BE20CA'
$file = Join-Path $env:TEMP 'DSH-Desktop.Setup.0.2.0.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