]> git.eshelyaron.com Git - emacs.git/commitdiff
Include additional version metadata during Windows install
authorSean Bright <sean@seanbright.com>
Wed, 2 Apr 2025 17:52:06 +0000 (13:52 -0400)
committerEshel Yaron <me@eshelyaron.com>
Tue, 29 Apr 2025 07:31:38 +0000 (09:31 +0200)
* admin/nt/dist-build/emacs.nsi: Add DisplayIcon, DisplayVersion, and
  Publisher values to the Uninstall registry key.

Copyright-paperwork-exempt: yes
(cherry picked from commit be4819bd578b696a4692cf7cc1b3d52390a65129)

admin/nt/dist-build/emacs.nsi

index 4a5de4f85f9f76be2a8710c7d41ee69232b746cc..9239eb07ec7e88bd2e66adb5e10e4d5379943b3f 100644 (file)
@@ -72,6 +72,9 @@ Section
 
   # add registry key to enable uninstall from control panel
   WriteRegStr HKLM "${UNINST_KEY}" "DisplayName" "GNU Emacs ${VERSION_BRANCH}"
+  WriteRegStr HKLM "${UNINST_KEY}" "DisplayIcon" "$\"$UninstallerPath$\""
+  WriteRegStr HKLM "${UNINST_KEY}" "DisplayVersion" "${VERSION_BRANCH}"
+  WriteRegStr HKLM "${UNINST_KEY}" "Publisher" "Free Software Foundation, Inc."
   WriteRegStr HKLM "${UNINST_KEY}" "UninstallString" "$\"$UninstallerPath$\""
 
   ;Create shortcuts