On Mon, Jan 27, 2020 at 04:59:55PM +0100, Pino Toscano wrote:
On Thursday, 21 November 2019 12:11:00 CET Tomáš Golembiovský wrote:
> This, together with the changes to common repo are fixes to the installation
> qemu-ga MSI.
I pushed patch #1 because it is OK for me.
I did not push patch #2 because I do not have experience with
powershell, so I cannot review it ATM.
> There is still an issue that I did not figure yet how to fix. On Windows 10 it
> fails to register the QEMU-GA service.
Can you please explain which kind of issues did you notice?
The main problem is this error that I get quite often is that qemu-ga
fails to register the VSS service. On the same guest it sometimes works
and sometimes it fails. And it happens only when installing in first
boot, installing manually always works.
From installer log:
MSI (s) (C4:00) [13:59:58:205]: Executing op: ServiceInstall(Name=QEMU-GA,DisplayName=QEMU
Guest Agent,ImagePath="C:\Program Files\Qemu-ga\qemu-ga.exe" -d
--retry-path,ServiceType=16,StartType=2,ErrorControl=0,,Dependencies=[~],,StartName=LocalSystem,Password=**********,Description=QEMU
Guest Agent,,)
MSI (s) (C4:00) [13:59:58:205]: Executing op: ActionStart(Name=RegisterCom,,)
MSI (s) (C4:00) [13:59:58:221]: Executing op:
CustomActionSchedule(Action=RegisterCom,ActionType=3122,Source=cmd.exe,Target=/c
"C:\Program Files\Qemu-ga\qemu-ga.exe" -s vss-install,)
MSI (s) (C4:00) [14:00:00:299]: Note: 1: 1722 2: RegisterCom 3: cmd.exe 4: /c
"C:\Program Files\Qemu-ga\qemu-ga.exe" -s vss-install
MSI (s) (C4:00) [14:00:00:299]: Note: 1: 2262 2: Error 3: -2147287038
CustomAction RegisterCom returned actual error code 1 (note this may not be 100% accurate
if translation happened inside sandbox)
MSI (s) (C4:00) [14:00:00:299]: Note: 1: 2262 2: Error 3: -2147287038
MSI (s) (C4:00) [14:00:00:299]: 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
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
The cryptic error[1] code -2147287038 seems to be:
STG_E_INVALIDFUNCTION 0x80030001 Unable to perform requested operation.
I haven't figured out yet why is it happening.
Tomas
[1]
https://docs.microsoft.com/en-us/windows/win32/com/com-error-codes-3
Thanks,
--
Pino Toscano
--
Tomáš Golembiovský <tgolembi(a)redhat.com>