[Spice-devel] [NSIS 3/5] OVirtGuestService.exe is a File not a Directory to remove

Yedidyah Bar David didi at redhat.com
Tue Jun 21 14:26:31 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 f6996a9..e03788c 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.1.4



More information about the Spice-devel mailing list