id = 968 title = "QEMU guest agent fails to install if COM+ Application: QEMU Guest Agent VSS Provider not properly uninstalled" state = "opened" created_at = "2022-04-07T16:45:38.721Z" closed_at = "n/a" labels = ["Guest Agent"] url = "https://gitlab.com/qemu-project/qemu/-/issues/968" host-os = "n/a" host-arch = "n/a" qemu-version = "n/a" guest-os = "n/a" guest-arch = "n/a" description = """QEMU guest agent fails to install if COM+ Application: QEMU Guest Agent VSS Provider not properly uninstalled""" reproduce = """1. Install QEMU guest agent 2. Uninstall QEMU guest agent (in rare cases it didn't uninstall the COM+ component) 3. Install QEMU guest agent and get error: `Product: QEMU guest agent -- Error 1722. There is a problem with this Windows Installer package. A program run as part of the setup did not finish as expected. Contact your support personnel or package vendor. Action RegisterCom, location: cmd.exe, command: /c "C:\\Program Files\\Qemu-ga\\qemu-ga.exe" -s vss-install`""" additional = """1. **Qemu GA is already uninstalled:** ``` gwmi Win32_Product IdentifyingNumber : {EE3877E4-07B0-41F2-ADB8-B45133DDCE37} Name : Spice Agent 0.10.0-5 (64-bit) Vendor : Red Hat, Inc. Version : 0.10.5 Caption : Spice Agent 0.10.0-5 (64-bit) IdentifyingNumber : {4C49C419-DE39-421B-B0F8-5F0DE1486869} Name : Virtio-win-driver-installer Vendor : Red Hat, Inc. Version : 0.1.189 Caption : Virtio-win-driver-installer IdentifyingNumber : {85F4CBCB-9BBC-4B50-A7D8-E1106771498D} Name : Orca Vendor : Microsoft Corporation Version : 3.1.5299.0000 Caption : Orca IdentifyingNumber : {89F4137D-6C26-4A84-BDB8-2E5A4BB71E00} Name : Microsoft Silverlight Vendor : Microsoft Corporation Version : 5.1.50918.0 Caption : Microsoft Silverlight IdentifyingNumber : {AB392F9F-0C0C-4098-B5BA-B1E84E62D6CE} Name : Icinga 2 Vendor : Icinga GmbH Version : 2.11.0 Caption : Icinga 2 ``` 2. **Extract files from installer and run `qemu-ga.exe -s vss-install`** It fails with: `QGA VSS Provider is already installed. (Error: 80004004) Vorgang abgebrochen` 3. **Uninstall COM+ component: `qemu-ga.exe -s vss-uninstall`** `Removing COM+ Application: QEMU Guest Agent VSS Provider` 4. **Now you can install GA** ``` gwmi Win32_Product IdentifyingNumber : {EE3877E4-07B0-41F2-ADB8-B45133DDCE37} Name : Spice Agent 0.10.0-5 (64-bit) Vendor : Red Hat, Inc. Version : 0.10.5 Caption : Spice Agent 0.10.0-5 (64-bit) IdentifyingNumber : {4C49C419-DE39-421B-B0F8-5F0DE1486869} Name : Virtio-win-driver-installer Vendor : Red Hat, Inc. Version : 0.1.189 Caption : Virtio-win-driver-installer IdentifyingNumber : {85F4CBCB-9BBC-4B50-A7D8-E1106771498D} Name : Orca Vendor : Microsoft Corporation Version : 3.1.5299.0000 Caption : Orca IdentifyingNumber : {99AD6A3C-F854-4E6E-865F-11D4A5E46172} Name : QEMU guest agent Vendor : RedHat Version : 101.1.0 Caption : QEMU guest agent IdentifyingNumber : {89F4137D-6C26-4A84-BDB8-2E5A4BB71E00} Name : Microsoft Silverlight Vendor : Microsoft Corporation Version : 5.1.50918.0 Caption : Microsoft Silverlight IdentifyingNumber : {AB392F9F-0C0C-4098-B5BA-B1E84E62D6CE} Name : Icinga 2 Vendor : Icinga GmbH Version : 2.11.0 Caption : Icinga 2 ```"""