Make the silent uninstall of N++ via 'winget' possible

Fix issue https://github.com/microsoft/winget-pkgs/issues/49601

Fix #11310, close #11316
This commit is contained in:
xomx 2022-03-01 19:51:27 +01:00 committed by Don Ho
parent 4b9aa66aee
commit c19033c917
1 changed files with 1 additions and 0 deletions

View File

@ -172,6 +172,7 @@ Function writeInstallInfoInRegistry
WriteRegStr HKLM "${UNINSTALL_REG_KEY}" "MajorVersion" "${VERSION_MAJOR}"
WriteRegStr HKLM "${UNINSTALL_REG_KEY}" "MinorVersion" "${VERSION_MINOR}"
WriteRegStr HKLM "${UNINSTALL_REG_KEY}" "UninstallString" '"$INSTDIR\uninstall.exe"'
WriteRegStr HKLM "${UNINSTALL_REG_KEY}" "QuietUninstallString" '"$INSTDIR\uninstall.exe" /S'
WriteRegStr HKLM "${UNINSTALL_REG_KEY}" "DisplayIcon" "$INSTDIR\notepad++.exe"
WriteRegStr HKLM "${UNINSTALL_REG_KEY}" "DisplayVersion" "${APPVERSION}"
WriteRegStr HKLM "${UNINSTALL_REG_KEY}" "URLInfoAbout" "${APPWEBSITE}"