Error installing Windows Qemu agent

TomTomGo

Renowned Member
Mar 30, 2012
48
3
73
France
Hi all,

In order to have some consistent VMs backups using VSS Snapshots, we'd like to install the guest agent in our Windows VMs.
We obtain an error message when executing qemu-ga-x64.msi :
Code:
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.
From the windows logs we can see :
Code:
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: C:\Program Files\qemu-ga\qemu-ga.exe, command: -s vss-install
While you don't click on the Ok button, it is possible to copy the files installed in "C:\Programs\qemu-ga\".
I've made a copy / paste of this directory and run a qemu-ga -s install
Code:
C:\Program Files\AgentQemu>qemu-ga.exe -s install
Registering QEMU Guest Agent VSS Provider:
  C:\Program Files\AgentQemu\qga-vss.dll
  C:\Program Files\AgentQemu\qga-vss.tlb
Failed to pUsersInRole->SaveChanges. (Error: 8000ffff) Défaillance irrémédiable

Removing COM+ Application: QEMU Guest Agent VSS Provider
Unfortunately it doesn't install correctly.
Tested on Windows 2008 R2, Windows 2012 R2 and Windows 7 x64 with latest 0.1.102 virtio drivers installed, qemu agent enabled in Proxmox VM config

Any suggestions ?

Regards,
 
Dear Wolfgang,

Thank you for your answer.
Yes the virtioserial dev was installed on all the virtual machines on which i try to install....
I forgot to mention that all the operations have been made with an admin account and UAC disabled.

Regards,
Thomas
 
May be try an other version of the virtio iso.
It works here with the 0.1.102 iso.
 
my procedure for Guest Agent, works on 18 Windows Boxes from XP, 7, 2008, 2008R2 to 2012R2:

check if QEMU Agent on VM is disabled, if not , shutdown VM and disable
installing Guest Agent as local Admin or Domain Admin
completely shutdown VM again
enable KVM Setting for Guest Agent
starting Windows, go to Device Manager and install serial Device Driver
reboot
 
Hi, I have the same error. So I tried to uninstalled the thing but seems impossible too:
[3360:3164][2016-01-25T14:12:53]i326: Removed dependency: {15b28e32-5594-45e4-8386-60e363c78769} on package provider: {10043E6A-A6D2-40A5-8D38-59019AC776D2}, package qemu_ga_x64.msi
[3360:3164][2016-01-25T14:12:53]i329: Removed package dependency provider: {10043E6A-A6D2-40A5-8D38-59019AC776D2}, package: qemu_ga_x64.msi
[3360:3164][2016-01-25T14:12:53]i301: Applying execute package: qemu_ga_x64.msi, action: Uninstall, path: C:\ProgramData\Package Cache\{10043E6A-A6D2-40A5-8D38-59019AC776D2}v2.1.0.0\qemu-ga-x64.msi, arguments: ' ARPSYSTEMCOMPONENT="1" MSIFASTINSTALL="7"'
[3360:3164][2016-01-25T14:12:55]e000: Error 0x80070643: Failed to uninstall MSI package.
[3360:3164][2016-01-25T14:12:56]e000: Error 0x80070643: Failed to execute MSI package.
[42FC:430C][2016-01-25T14:12:56]e000: Error 0x80070643: Failed to configure per-machine MSI package.
[42FC:430C][2016-01-25T14:12:56]i319: Applied execute package: qemu_ga_x64.msi, result: 0x80070643, restart: None
[42FC:430C][2016-01-25T14:12:56]e000: Error 0x80070643: Failed to execute MSI package.
[3360:3164][2016-01-25T14:12:56]i318: Skipped rollback of package: qemu_ga_x64.msi, action: Install, already: Present
[42FC:430C][2016-01-25T14:12:56]i319: Applied rollback package: qemu_ga_x64.msi, result: 0x0, restart: None
[3360:3164][2016-01-25T14:12:56]i323: Registering package dependency provider: {10043E6A-A6D2-40A5-8D38-59019AC776D2}, version: 2.1.0.0, package: qemu_ga_x64.msi
[3360:3164][2016-01-25T14:12:56]i325: Registering dependency: {15b28e32-5594-45e4-8386-60e363c78769} on package provider: {10043E6A-A6D2-40A5-8D38-59019AC776D2}, package: qemu_ga_x64.msi
[42FC:430C][2016-01-25T14:12:56]i399: Apply complete, result: 0x80070643, restart: None, ba requested restart: No


is there a cleaner somewhere available?
 
Yes, it's used to communicate with the VM in order to launch a VSS snaphot before the vzdump backup to have consistent vzdump backups...
But i'm still unable to install it ....

I had the exact same error and it was very cryptic to me as this problem turned out to be unrelated to qemu-ga at all.

I noticed that my server manager could not refresh some configuration data: "Server Manager 2012 : Configuration refresh failed with the following error: Invalid class".

The error was the same as the one I found poking around `qemu-ga.exe -s install` output. So I found a useful answer here:
https://social.technet.microsoft.co...rmanager#2a19f576-15df-4ecb-8f68-1454036cd7a6

It may be helpful if you have the same issue with your server manager (or whatever state that is broken and required for it to work). I am by no means a Windows guy and I will just quote the original author here (make sure you run it from cmd.exe - not powershell):

"1. from current directory (C:\Windows\System32) I did: dir /a /S *.mof then all *.mof's in all subdirs were listet.

All are some type like "FFA7CB08C2CC2CB2D3973F6214D0CCAF.mof"

2. cd C:\Windows\System32\wbem\AutoRecover

3. for /f %s in ('dir /b *.mof *.mfl') do mofcomp %s

4. goto Servermanager, do Refresh - Ok."

After that the qemu-ga msi worked without errors.

Happy VSS-ing.
 
I had the exact same error.
Is there a solution ? All mentioned procedures have not worked

Thanks
 
Have you also installed the virtio-serial com port in the VM?
 
Hello, i've the same problem "There is a problem with this Windows Installer package..." On Windows 7 64bits VM.
Finaly, i've install 64bits driver for the serial communication and the 32bits version for the qemu-ga and it's ok for me.

Ed
 
Hi, I have found why the agent don't install correctly in some case.
If you use an english version of Windows, no problem but in french the agent fail to install when registering vss provider (error =
Défaillance irrémédiable). I have not tested with other language.

Mo
 
  • Like
Reactions: pascal-m2b
Yes but if you install the 32 bits version of the guest agent on a 64 bits system, the vss for backup is not installed
 
I found a solution!
1. Install the Windows English Language Pack (https://www.microsoft.com/en-US/download/details.aspx?id=2634)
2. Install QEMU GA x64
3. Shutdown the VM, enable the Qemu Agent on WEBUI opitions.
4. Start the VM again and install the VirtioSerial driver to the "PCI simple comunication~".
5. Change language to your favorite in control panel.

Worked for me in 3 different servers.

Thanks @correctonet for figuring out the language bug!
 
  • Like
Reactions: ayozeve and anthon

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!