You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by se...@apache.org on 2021/08/18 17:27:11 UTC

[directory-studio] branch master updated: DIRSTUDIO-1286: Add installer version in windows installer

This is an automated email from the ASF dual-hosted git repository.

seelmann pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/directory-studio.git


The following commit(s) were added to refs/heads/master by this push:
     new 37d3378  DIRSTUDIO-1286: Add installer version in windows installer
37d3378 is described below

commit 37d3378f38d8347647a1402b560960a21e4dbbc7
Author: Stefan Seelmann <ma...@stefan-seelmann.de>
AuthorDate: Wed Aug 18 19:24:59 2021 +0200

    DIRSTUDIO-1286: Add installer version in windows installer
---
 installers/windows/src/nsis/windows_installer.nsi | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/installers/windows/src/nsis/windows_installer.nsi b/installers/windows/src/nsis/windows_installer.nsi
index e6d3d6e..61de146 100755
--- a/installers/windows/src/nsis/windows_installer.nsi
+++ b/installers/windows/src/nsis/windows_installer.nsi
@@ -212,6 +212,8 @@
         # Configuring registries for the uninstaller
         WriteRegStr "${INSTDIR_REG_ROOT}" "${INSTDIR_REG_KEY}" "DisplayName" "${Application} - (remove only)"
         WriteRegStr "${INSTDIR_REG_ROOT}" "${INSTDIR_REG_KEY}" "DisplayIcon" "$INSTDIR\uninstall.exe"
+        WriteRegStr "${INSTDIR_REG_ROOT}" "${INSTDIR_REG_KEY}" "DisplayVersion" "${BrandingVersion}"
+        WriteRegStr "${INSTDIR_REG_ROOT}" "${INSTDIR_REG_KEY}" "Publisher" "The Apache Software Foundation"
         WriteRegStr "${INSTDIR_REG_ROOT}" "${INSTDIR_REG_KEY}" "UninstallString" '"$INSTDIR\uninstall.exe"'
         WriteRegDWORD "${INSTDIR_REG_ROOT}" "${INSTDIR_REG_KEY}" "NoModify" "1"
         WriteRegDWORD "${INSTDIR_REG_ROOT}" "${INSTDIR_REG_KEY}" "NoRepair" "1"