[NSIS] Add Display Version as a postfix to the Display Name.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Lev Veyde <lveyde@xxxxxxxxxx>

This is done, so that the version will be easily visible in the
oVirt Manager under the Applications, because the oVirt Guest Agent
returns only Display Names, but not the versions.

Bug-Url: https://bugzilla.redhat.com/1310621
Change-Id: I10a1f1d3a9e4241ec1dd5420c1e8770ec00bc508
Signed-off-by: Lev Veyde <lveyde@xxxxxxxxxx>
---
 win-guest-tools.nsis | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/win-guest-tools.nsis b/win-guest-tools.nsis
index 591b806..1951721 100644
--- a/win-guest-tools.nsis
+++ b/win-guest-tools.nsis
@@ -195,7 +195,7 @@ Section "install"
   Call InstallVdAgentService
 
   WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${REGKEYNAME}" \
-                 "DisplayName" "${NAME}"
+                 "DisplayName" "${NAME} ${DISPLAYED_VERSION}"
   WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${REGKEYNAME}" \
                  "DisplayVersion" "${DISPLAYED_VERSION}"
   WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${REGKEYNAME}" \
-- 
1.8.3.1

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]