Kommandon för att installera jdDesktopEntryEdit 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 JakobDev.jdDesktopEntryEdit -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id JakobDev.jdDesktopEntryEdit -e --silentwinget uninstall --id JakobDev.jdDesktopEntryEdit -e --silentPer installationsfil
64-bitars · EXE (NSIS) · Aktuell användare · en-US
Tyst installation
download /SEgen mapp
download /S /D=C:\Apps\jddesktopentryedit- Avinstallationsnyckel i registret
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\jdDesktopEntryEdit
64-bitars · EXE (NSIS) · Alla användare · en-US
Tyst installation
download /SEgen mapp
download /S /D=C:\Apps\jddesktopentryedit- Avinstallationsnyckel i registret
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\jdDesktopEntryEdit
PowerShell: ladda ner, kontrollera, installera
Laddar ner den officiella filen, kontrollerar dess SHA256 och installerar tyst.
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