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

Christophe Fergeau cfergeau at redhat.com
Wed Jun 22 14:55:40 UTC 2016


Acked-by: Christophe Fergeau <cfergeau at redhat.com>

On Wed, Jun 22, 2016 at 02:53:44PM +0200, Vinzenz 'evilissimo' Feenstra wrote:
> 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
> 
> _______________________________________________
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/spice-devel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/spice-devel/attachments/20160622/9f0bfeff/attachment.sig>


More information about the Spice-devel mailing list