virtio-win / virtio-win-guest-tools-installer

113 stars 19 forks source link

a program run as part of the setup did not finish as expected #43

Closed ChendongSun closed 1 year ago

ChendongSun commented 1 year ago

There is an installation exception on my environment, what should I do to fix it image

YanVugenfirer commented 1 year ago

Hi @ChendongSun , The most probable cause is that there are some left overs of the previous qemu-ga installation. Please try the following:

The workaround can be to uninstall VSS service by calling qemu-ga.exe. You will need to extract it from MSI with all the dependency DLLs:

cmd.exe /c "[qemu_ga_directory]qemu-ga.exe" -s vss-uninstall 

In order to extract the binaries, you can install msitools rpm on RHEL and run following command: msiextract qemu-qa.msi

BZ for reference: https://bugzilla.redhat.com/show_bug.cgi?id=2059064

ChendongSun commented 1 year ago

image image After uninstalling qga, the vss service is still causing the new qga to fail to install

ChendongSun commented 1 year ago

"cmd.exe /c "[qemu_ga_directory]qemu-ga.exe" -s vss-uninstall" is not work image

YanVugenfirer commented 1 year ago

Can you remove the service from the service manager?

ChendongSun commented 1 year ago

I deleted HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\QEMU Guest Agent VSS provider in the regedit, and then restarted the machine.but the problem still exists

ChendongSun commented 1 year ago

This is the error log for installing qemu-ga.msi. 1.log

ChendongSun commented 1 year ago

This problem may be related to the installation process destroy, which can be fixed by this method: com+无法与Miscrsoft分布式事务协调程序交谈