Impossible to install Virtual Box in Windows 11

Discussions related to using VirtualBox on Windows hosts.
Post Reply
Dyrl
Posts: 5
Joined: 13. Dec 2021, 11:54

Impossible to install Virtual Box in Windows 11

Post by Dyrl »

Hello,

I first installed VBox on my computer when I had Windows 10. Then I upgraded it to Windows 11. By then I had Vbox version 6.1.14.

Last week I had an issue with Vbox and I tried to upgrade it to 6.1.30, without deinstalling the previous 6.1.14.

When I tried to do so, I was neither unable to install the new version, nor to deinstall the previous one. I had to do several manipulations and finally I succedded to deinstall version 6.1.14 in Windows protected mode ... a real pain.

Now, If I try to install 6.1.30 I have always the same error:
Error 1719. The Windows Installer Service could not be accessed. This can occur if the Windows Installer is not correctly installed. Contact your support personnel for assistance.
MSI (c) (70:1C) [11:01:59:853]: Product: Oracle VM VirtualBox 6.1.14 -- Error 1719. The Windows Installer Service could not be accessed. This can occur if the Windows Installer is not correctly installed. Contact your support personnel for assistance.

I tried to see if it was a Microsoft issue. Tried a lot of things, including doing the verification to see if the Windows Installer system was corrupted or not, but everything was ok.

Another thing I tried is to install other programs, and I had no issue with them so far. Windows Installer is working fine

Attached on this post, the installation log for vbox 6.1.30.
Attachments
log.txt
Installation log for vbox 6.1.30 on Windows 11
(92.43 KiB) Downloaded 77 times
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, Linux

Re: Impossible to install Virtual Box in Windows 11

Post by scottgus1 »

Dyrl wrote:I tried to upgrade it to 6.1.30, without deinstalling the previous 6.1.14.
Normally this is fine.
Dyrl wrote:I was neither unable to install the new version, nor to deinstall the previous one.
This means your computer's MSI database was bunged. It happens, a lot. It is Microsoft, and a commodity computer. :D
Dyrl wrote:The Windows Installer Service could not be accessed. This can occur if the Windows Installer is not correctly installed.
This may be from the original bung-up, or the manipulations.
Dyrl wrote:Contact your support personnel for assistance.
These folks will be Microsoft.

Please investigate these:
Basic troubleshooting steps for Windows Installer
At this point Virtualbox is not running yet. The Virtualbox installer is really a Microsoft program that happens to carry the Virtualbox payload. It works with the Windows MSI installer database. It appears that your MSI system is screwed up.
Dyrl wrote:I tried is to install other programs, and I had no issue with them so far.
These other programs may not use the MSI system.
Dyrl
Posts: 5
Joined: 13. Dec 2021, 11:54

Re: Impossible to install Virtual Box in Windows 11

Post by Dyrl »

Hi scottgus1,
first of all, thank you very much for your help.

I tried the "Basic troubleshooting steps for Windows Installer" in the past, and it didn't work. I tried it again today, but still the same result. The problem with this one is that it asks me to select from several programs which one I am trying to install, but Virtualbox is not listed there. I selected then "Not listed", and the fix programs says goodbye.

Then I tried "Windows Repair 4.5.1", which I didn't knew. Tried this one on "Safe Mode". First I tried to repair only the MSI functionality, rebooted, but then the result was the same than that on my original post. Next tried all repairs. Took a while, then rebooted, tried to install virtualbox, but then the same result again.

Isn't there anything else I could do to debug the problem? I tried to check Window's event viewer logs, but they don't seem useful.

Best regards,
Adrian
Dyrl
Posts: 5
Joined: 13. Dec 2021, 11:54

Re: Impossible to install Virtual Box in Windows 11

Post by Dyrl »

I tried another thing this time, and the installation process could progress a little bit more than the one on my original post.

This time I tried to install virtualbox in safe mode. Attached you will find the installation log.

This time the log file says: Windows Installer installed the product. Product Name: Oracle VM VirtualBox 6.1.30. Product Version: 6.1.30. Product Language: 1033. Manufacturer: Oracle Corporation. Installation success or error status: 1603.
Attachments
install.zip
(47.09 KiB) Downloaded 45 times
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, Linux

Re: Impossible to install Virtual Box in Windows 11

Post by scottgus1 »

Dyrl wrote:the log file says: Windows Installer installed the product. Product Name: Oracle VM VirtualBox 6.1.30
Does Virtualbox now work?
Dyrl
Posts: 5
Joined: 13. Dec 2021, 11:54

Re: Impossible to install Virtual Box in Windows 11

Post by Dyrl »

scottgus1 wrote:Does Virtualbox now work?
No, it doesn't.
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, Linux

Re: Impossible to install Virtual Box in Windows 11

Post by scottgus1 »

OK, thanks. The log reports trouble installing Virtualbox's USB tie-in. Do you have a USB filtering or scanning software installed?

Uninstall Virtualbox again and reboot.

Then go to C:\Windows\System32\Drivers, and look for any .sys files starting with 'Vbox'. There could be up to 5 files. Delete them if you find them.

Then disable AV real-time scanning, if you are using 3rd-party Antivirus or security software. Windows' built-in Defender AV does not have to be disabled, as Defender does not interfere with Virtualbox.

Then try the install again by right-clicking the installer and choose Run As Administrator.

If the install fails again, please post the log again.
Dyrl
Posts: 5
Joined: 13. Dec 2021, 11:54

Re: Impossible to install Virtual Box in Windows 11

Post by Dyrl »

scottgus1 wrote:OK, thanks.
My pleasure. Thank you for your help.
scottgus1 wrote: The log reports trouble installing Virtualbox's USB tie-in. Do you have a USB filtering or scanning software installed?
No
scottgus1 wrote: Uninstall Virtualbox again and reboot.
Done.
scottgus1 wrote: Then go to C:\Windows\System32\Drivers, and look for any .sys files starting with 'Vbox'. There could be up to 5 files. Delete them if you find them.
Done.
scottgus1 wrote: Then disable AV real-time scanning, if you are using 3rd-party Antivirus or security software. Windows' built-in Defender AV does not have to be disabled, as Defender does not interfere with Virtualbox.

Then try the install again by right-clicking the installer and choose Run As Administrator.
Done.
scottgus1 wrote: If the install fails again, please post the log again.
Done ... and it didn't work :(. Follows the log..
Attachments
install2.zip
(51.13 KiB) Downloaded 26 times
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, Linux

Re: Impossible to install Virtual Box in Windows 11

Post by scottgus1 »

Sorry for the delay getting back to this topic, I forgot about it.

Looks like your host is still throwing trouble over Virtualbox's USB system. Try turning off the USB option in your next Virtualbox install attempt, see if it succeeds.
Post Reply