qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH v2] qemu-ga: Prevent QEMU-GA VSS provider from b


From: Leonid Bloch
Subject: Re: [Qemu-devel] [PATCH v2] qemu-ga: Prevent QEMU-GA VSS provider from being unregistered on reinstall
Date: Mon, 3 Aug 2015 17:33:57 +0300

Hi,
On Mon, Aug 3, 2015 at 4:19 PM, Marc-André Lureau
<address@hidden> wrote:
> Hi
>
> On Mon, Aug 3, 2015 at 3:00 PM, Leonid Bloch <address@hidden> wrote:
>>>
>>> yes, but if you remove that RemoveExistingProducts too, then what fails?
>> Only the manual call for RemoveExistingProducts is removed.
>> MajorUpgrade places it automatically in the InstallExecuteSequence
>> table.
>
>
> I think the root of the problem is that the wxs doesn't follow the
> "component rules": "qemu_ga" shouldn't contain various libs and
> executable. Instead, each file should have its own component. Then I
> think RemoveExistingProducts would actually remove only the components
> that are to be upgraded. And that REINSTALLMODE trick wouldn't be
> necessary. I would fix to follow the principles recommended here:
> https://msdn.microsoft.com/en-us/library/aa368269%28VS.85%29.aspx.
You are right, however here, the goal is just to install one single
file - qemu_ga.exe, and 6--8 libs to support it. All into a single
directory. No complicated scenarios or databases to retain. In such a
case, don't you think that it will actually be safer and more robust
to just reinstall everything upon upgrade? It's not a problem to wrap
each file in its own "Component", but it will add unnecessary clutter
to a code that does something extremely simple, imho.
>
> --
> Marc-André Lureau

Leonid.



reply via email to

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