[Spice-devel] [spice-nsis][PATCH] "virt-viewer" has been used mistakenly in some paths

Fabiano Fidêncio fidencio at redhat.com
Tue Mar 10 15:55:02 PDT 2015


Seems the spice-guest-tools.nsis came from mingw-virt-viewer.nsis and
that there were still some leftovers. Let's just replace "virt-viewer",
in the Uninstall Section, by "spice-guest-tools".

Resolves: rhbz#1200592
---
Repo used: http://cgit.freedesktop.org/~teuf/spice-nsis/
Note: Not tested
---
 spice-guest-tools.nsis | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/spice-guest-tools.nsis b/spice-guest-tools.nsis
index 511e6e1..17d94bf 100644
--- a/spice-guest-tools.nsis
+++ b/spice-guest-tools.nsis
@@ -124,7 +124,7 @@ Section "Desktop Icons"
 SectionEnd
 
 Section "Uninstall"
-  Delete /rebootok "$SMPROGRAMS\virt-viewer\Uninstall SPICE Guest Tools.lnk"
+  Delete /rebootok "$SMPROGRAMS\spice-guest-tools\Uninstall SPICE Guest Tools.lnk"
   RMDir "$SMPROGRAMS\spice-guest-tools"
 
   ${if} ${RunningX64}
@@ -141,7 +141,7 @@ Section "Uninstall"
 SectionEnd
 
 Section -post
-  WriteUninstaller "$INSTDIR\Uninstall virt-viewer.exe"
+  WriteUninstaller "$INSTDIR\Uninstall spice-guest-tools.exe"
 SectionEnd
 
 Function .onInit
-- 
2.3.1



More information about the Spice-devel mailing list