[Spice-devel] [NSIS v2 1/4] OVirtGuestService.exe is a File not a Directory to remove

Vinzenz 'evilissimo' Feenstra vfeenstr at redhat.com
Wed Jun 22 10:12:40 UTC 2016


From: Vinzenz Feenstra <vfeenstr at redhat.com>

Change-Id: Ie71a0164c33d41aa1945f6dfe6feb6e54d1806e1
Signed-off-by: Vinzenz Feenstra <vfeenstr 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 e4cd33d..17f1103 100644
--- a/win-guest-tools.nsis
+++ b/win-guest-tools.nsis
@@ -232,7 +232,7 @@ Section "Uninstall"
   RMDir /rebootok "$INSTDIR\64"
   RMDir /rebootok /r "$INSTDIR\drivers"
 !ifdef OVIRT
-  RMDir /rebootok "$INSTDIR\OVirtGuestService.exe"
+  Delete /rebootok "$INSTDIR\OVirtGuestService.exe"
 
   RMDir /rebootok "$INSTDIR\hooks\after_hibernation"
   RMDir /rebootok "$INSTDIR\hooks\before_hibernation"
-- 
2.8.0



More information about the Spice-devel mailing list