Cannot update VirtualBox on Windows 10

Discussions related to using VirtualBox on Windows hosts.
Post Reply
tathanhdinh
Posts: 1
Joined: 23. Oct 2016, 18:31

Cannot update VirtualBox on Windows 10

Post by tathanhdinh »

I have installed VirtualBox (version 5.1.6 r110634) on my machine on Windows 10. It works well, until recently when I have been noticed that there is a newer version 5.8.

I tried to update by first uninstalling the current version (i.e. 5.1.6 r110634), unfortunately, it does not work.

Using the Standard uninstaller of Windows, I received: "This installation package could not be opened. Contact the application vendor to verify that this is a valid Windows Installer package". I tried again using msiexec (extract the package VirtualBox-5.1.6-110634-Win.exe, then use: msiexec /x VirtualBox-5.1.6-r110634-MultiArch_amd64.msi), but it does not work neither.

If installing directly from the package VirtualBox-5.1.8-111374-Win, I received: "The older version of Oracle VirtualBox 5.1.8 cannot be removed. Contact your technical support."

Many thanks for any help.
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Cannot update VirtualBox on Windows 10

Post by socratis »

This sounds like a Windows installer problem, most probably a corrupt database. I believe you should focus on this as a Windows problem and not as a VirtualBox problem. Searching for tools that fix the installation database might be a good start.
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
dod1450
Posts: 1
Joined: 24. Oct 2016, 03:36

Re: Cannot update VirtualBox on Windows 10

Post by dod1450 »

I also have the same problem. It is the upgrade version that is causing the problem. Any other applications installations works with no problems.
dombijd
Posts: 1
Joined: 12. Dec 2016, 20:54

Re: Cannot update VirtualBox on Windows 10

Post by dombijd »

I have the same problem, but I can solve it. First I downloaded VirtualBox 5.1.6. Then I run and choose repair. Then I can run the 5.1.10. setup.
Twoy
Posts: 1
Joined: 17. Dec 2016, 16:42

Solved: Cannot update to VirtualBox 5.1.10 on Windows 10

Post by Twoy »

2016-12-17: I had the same Problem updating virutal box to 5.1.10
Problem: I tried to install VirtualBox-5.1.10-112026-Win.exe but during installation the setup process stopped and started rollback.

Then I tried to generate some logfiles via
1. VirtualBox-5.1.10-112026-Win.exe -extract
2. c:\Users\%USERNAME%\AppData\Local\Temp\VirtualBox>msiexec /i "VirtualBox-5.1.10-r112026-MultiArch_amd64.msi" /Lv "msi-virtualbox.log"
But the logfile was not so useful. VBoxHardening.log told me some errors with System32\opengl32.dll.

In between Windows10 installed some updates. After two Windows 10 reboot I tried the installation with clean application settings:
I Renamed the following folders:
c:\Users\%USERNAME%\.VirtualBox\
c:\Users\%USERNAME%\VirtualBox VMs\
and started setup VirtualBox-5.1.10-112026-Win.exe again. This time setup completed. After this step I renamed these folders back into its original name, an everythin was fine.

So I don't know if the windws 10 update or the renaming of these folder.

Regards,
Twoy
Post Reply