[Spice-devel] [NSIS] Correct path to QEMU GA MSI files

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


From: Vinzenz Feenstra <vfeenstr at redhat.com>

Previously the path to the qemu-ga-x{86,64}.msi files was incorrect.
The files are installed into the drivers sub-directory.

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

diff --git a/win-guest-tools.nsis b/win-guest-tools.nsis
index e4cd33d..3d5f42d 100644
--- a/win-guest-tools.nsis
+++ b/win-guest-tools.nsis
@@ -401,18 +401,18 @@ FunctionEnd
 
 Function InstallQemuGuestAgent
   ${if} ${RunningX64}
-    StrCpy $0 "$INSTDIR\guest-agent\qemu-ga-x64.msi"
+    StrCpy $0 "$INSTDIR\drivers\guest-agent\qemu-ga-x64.msi"
   ${else}
-    StrCpy $0 "$INSTDIR\guest-agent\qemu-ga-x86.msi"
+    StrCpy $0 "$INSTDIR\drivers\guest-agent\qemu-ga-x86.msi"
   ${endif}
   ExecWait '"msiexec.exe" /qn /i "$0"'
 FunctionEnd
 
 Function un.UninstallQemuGuestAgent
   ${if} ${RunningX64}
-    StrCpy $0 "$INSTDIR\guest-agent\qemu-ga-x64.msi"
+    StrCpy $0 "$INSTDIR\drivers\guest-agent\qemu-ga-x64.msi"
   ${else}
-    StrCpy $0 "$INSTDIR\guest-agent\qemu-ga-x86.msi"
+    StrCpy $0 "$INSTDIR\drivers\guest-agent\qemu-ga-x86.msi"
   ${endif}
   ExecWait '"msiexec.exe" /qn /x "$0"'
 FunctionEnd
-- 
2.8.0



More information about the Spice-devel mailing list