Received: from eggs.gnu.org ([2001:4830:134:3::10]:60760) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZMD9S-0003UN-3O for qemu-devel@nongnu.org; Mon, 03 Aug 2015 06:39:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZMD9N-0007z0-5E for qemu-devel@nongnu.org; Mon, 03 Aug 2015 06:39:26 -0400 Received: from mail-wi0-f182.google.com ([209.85.212.182]:36807) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZMD9M-0007yp-V5 for qemu-devel@nongnu.org; Mon, 03 Aug 2015 06:39:21 -0400 Received: by wicgj17 with SMTP id gj17so98975492wic.1 for ; Mon, 03 Aug 2015 03:39:20 -0700 (PDT) From: Leonid Bloch Date: Mon, 3 Aug 2015 13:39:02 +0300 Message-Id: <1438598343-21075-1-git-send-email-leonid@daynix.com> Subject: [Qemu-devel] [PATCH v2] qemu-ga: Prevent QEMU-GA VSS provider from being unregistered on reinstall List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Leonid Bloch , marcandre.lureau@gmail.com Contrary to the first version of this patch, this time the MajorUpgrade element is used both to handle the detection of previously installed versions for upgrade, and to prevent downgrading without manual un-installation of the older version. The property REINSTALLMODE had to be set to "amus", which contrary to the default "omus" makes all the files to be reinstalled during upgrade, regardless of their version. This is because the RemoveExistingProducts element is now placed automatically, after InstallValidate, and thus can not be placed in the very beginning of the installation sequence, as was the case in the previous version of this patch. Leonid Bloch (1): qemu-ga: Prevent QEMU-GA VSS provider from being unregistered on reinstall qga/installer/qemu-ga.wxs | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) -- 2.4.3