Ordres per instal·lar jdDesktopEntryEdit 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 JakobDev.jdDesktopEntryEdit -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id JakobDev.jdDesktopEntryEdit -e --silentwinget uninstall --id JakobDev.jdDesktopEntryEdit -e --silentPer instal·lador
64 bits · EXE (NSIS) · Usuari actual · en-US
Instal·lació silenciosa
download /SUna altra carpeta
download /S /D=C:\Apps\jddesktopentryedit- Clau de desinstal·lació al registre
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\jdDesktopEntryEdit
64 bits · EXE (NSIS) · Tots els usuaris · en-US
Instal·lació silenciosa
download /SUna altra carpeta
download /S /D=C:\Apps\jddesktopentryedit- Clau de desinstal·lació al registre
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\jdDesktopEntryEdit
PowerShell: baixar, verificar, instal·lar
Baixa el fitxer oficial, en comprova l’SHA256 i l’instal·la en mode silenciós.
install-jddesktopentryedit.ps1
$url = 'https://sourceforge.net/projects/jddesktopentryedit/files/1.8/jdDesktopEntryEdit-1.8-WindowsInstaller.exe/download'
$sha256 = '9237C5C314302376B2AE4D22F19B4ABCBC91CA44EC3F1003B62D7E8C3A8978A5'
$file = Join-Path $env:TEMP 'download'
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-jddesktopentryedit.ps1
$url = 'https://sourceforge.net/projects/jddesktopentryedit/files/1.8/jdDesktopEntryEdit-1.8-WindowsInstaller.exe/download'
$sha256 = '9237C5C314302376B2AE4D22F19B4ABCBC91CA44EC3F1003B62D7E8C3A8978A5'
$file = Join-Path $env:TEMP 'download'
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