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

Yedidyah Bar David didi at redhat.com
Mon Aug 29 12:47:44 UTC 2016


From: Lev Veyde <lveyde at redhat.com>

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 at redhat.com>
---
 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



More information about the Spice-devel mailing list