]> git.proxmox.com Git - mirror_qemu.git/commit
qemu-ga: Prevent QEMU-GA VSS provider from being unregistered on MSI reinstall
authorLeonid Bloch <leonid@daynix.com>
Mon, 3 Aug 2015 17:54:24 +0000 (20:54 +0300)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Tue, 1 Sep 2015 16:07:09 +0000 (11:07 -0500)
commit848849dddf68630021351f5068de12f5c54ae2f8
treeef6273cc16e921851592d765ed30786932358a33
parent5e994f94121cdb9c48939cb489e2da646c229a48
qemu-ga: Prevent QEMU-GA VSS provider from being unregistered on MSI reinstall

Previously, running the .msi would unregister the QEMU GA VSS service if QEMU GA was already installed on the machine, and then register it only if QEMU GA was NOT previously installed. This behavior caused the service to be registered only after the INITIAL installation, and any subsequent run of the .msi (to redo, repair, or upgrade the installation) ended in the service being unregistered.

Now, the VSS service is still unregistered if QEMU GA is already installed (so that a fix or an update could be performed) but then it is registered again (if the GA is not being uninstalled) thus finishing the repair/upgrade correctly. Additionally, downgrading is now prevented. If a user would like to downgrade a version, he/she must uninstall the newer version first.

Signed-off-by: Leonid Bloch <leonid@daynix.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
qga/installer/qemu-ga.wxs