qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v3 1/3] qga: Installer: Wait for installation to finish


From: Philippe Mathieu-Daudé
Subject: Re: [PATCH v3 1/3] qga: Installer: Wait for installation to finish
Date: Tue, 24 Mar 2020 15:03:21 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0

On 3/24/20 3:00 PM, Marc-André Lureau wrote:
Hi

On Tue, Mar 24, 2020 at 2:13 PM Philippe Mathieu-Daudé
<address@hidden> wrote:

Hi Basil,

On 3/11/20 6:04 PM, Basil Salman wrote:
Installation might fail if we don't wait for the provider
unregisteration process to finish.

Signed-off-by: Sameeh Jubran <address@hidden>
Signed-off-by: Basil Salman <address@hidden>
---
   qga/installer/qemu-ga.wxs | 2 +-
   1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/qga/installer/qemu-ga.wxs b/qga/installer/qemu-ga.wxs
index 64bf90bd85..f6781752e6 100644
--- a/qga/installer/qemu-ga.wxs
+++ b/qga/installer/qemu-ga.wxs
@@ -81,7 +81,7 @@
                 Arguments="-d --retry-path"
                 >
               </ServiceInstall>
-            <ServiceControl Id="StartService" Start="install" Stop="both" Remove="uninstall" 
Name="QEMU-GA" Wait="no" />
+            <ServiceControl Id="StartService" Start="install" Stop="both" Remove="uninstall" 
Name="QEMU-GA" Wait="yes" />

As 'yes' is the default, can you simply remove 'Wait="no"'?

It looks like wixl doesn't follow the WiX default value though.

tools/wixl/msi.vala:
574                 (Wait != null && !rec.set_int (5, Wait ? 1 : 0)) ||

I trusted the documentation...
https://wixtoolset.org/documentation/manual/v3/xsd/wix/servicecontrol.html

Thanks for looking at the implementation.

So for this patch:
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>



             </Component>
             <?ifdef var.InstallVss?>
             <Component Id="qga_vss_dll" 
Guid="{CB19C453-FABB-4BB1-ABAB-6B74F687BFBB}">









reply via email to

[Prev in Thread] Current Thread [Next in Thread]