[Spice-devel] [NSIS v2 2/4] ovirt: Remove all files install by the ovirt-guest-agent

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


From: Vinzenz Feenstra <vfeenstr at redhat.com>

Previously we left behind:
- default.ini
- default-logger.ini
- ovirt-guest-agent.ini
- vcredist_x86.exe

Change-Id: If625ea358d0808bbee70bff9124d4f4e083157dc
Signed-off-by: Vinzenz Feenstra <vfeenstr at redhat.com>
---
 win-guest-tools.nsis | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/win-guest-tools.nsis b/win-guest-tools.nsis
index 17f1103..0aa3409 100644
--- a/win-guest-tools.nsis
+++ b/win-guest-tools.nsis
@@ -234,6 +234,11 @@ Section "Uninstall"
 !ifdef OVIRT
   Delete /rebootok "$INSTDIR\OVirtGuestService.exe"
 
+  Delete /rebootok "$INSTDIR\default.ini"
+  Delete /rebootok "$INSTDIR\default-logger.ini"
+  Delete /rebootok "$INSTDIR\ovirt-guest-agent.ini"
+  Delete /rebootok "$INSTDIR\vcredist_x86.exe"
+
   RMDir /rebootok "$INSTDIR\hooks\after_hibernation"
   RMDir /rebootok "$INSTDIR\hooks\before_hibernation"
   RMDir /rebootok "$INSTDIR\hooks\after_migration"
-- 
2.8.0



More information about the Spice-devel mailing list