Continuous Install Error

Discussions related to using VirtualBox on Windows hosts.
Post Reply
exuberocity
Posts: 2
Joined: 26. Apr 2017, 14:58

Continuous Install Error

Post by exuberocity »

Trying to install virtual box 5.1.2 on Windows 10 Pro, 64bit. Below is the event log and I've attached the install failed screenshots. Help?

Ending a Windows Installer transaction: C:\Users\sberger\AppData\Local\Temp\VirtualBox\VirtualBox-5.1.20-r114628-MultiArch_amd64.msi. Client Process Id: 6064.
Product: Oracle VM VirtualBox 5.1.20 -- Installation failed.
Windows Installer installed the product. Product Name: Oracle VM VirtualBox 5.1.20. Product Version: 5.1.20. Product Language: 1033. Manufacturer: Oracle Corporation. Installation success or error status: 1603.
Ending session 0 started ‎2017‎-‎04‎-‎26T13:05:08.109895500Z.
Ending session 0 started ‎2017‎-‎04‎-‎26T13:05:08.164923400Z.


-----Another message in the event log around these ones-----
Windows detected your registry file is still in use by other applications or services. The file will be unloaded now. The applications or services that hold your registry file may not function properly afterwards. No user action is required.

DETAIL -
1 user registry handles leaked from \Registry\User\S-1-5-21-1177238915-261903793-1801674531-5451:
Process 7420 (\Device\HarddiskVolume3\Windows\System32\svchost.exe) has opened key \REGISTRY\USER\S-1-5-21-1177238915-261903793-1801674531-5451\Software\Policies\Microsoft\Windows\Safer\CodeIdentifiers
Attachments
2017-04-26 08_59_13-Downloads.png
2017-04-26 08_59_13-Downloads.png (3.87 KiB) Viewed 2529 times
2017-04-26 08_59_05-Downloads.png
2017-04-26 08_59_05-Downloads.png (95.67 KiB) Viewed 2529 times
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: Continuous Install Error

Post by mpack »

This actually isn't a VirtualBox error. VirtualBox is just the application being installed, but the installer running at the time is MSI, the standard Windows installer. And it is MSI which is having the error. Hence I'd guess that you have some kind of problem with your registry. Since the problem seems to concern some kind of lock on the registry files you might want to try rebooting your host.
exuberocity
Posts: 2
Joined: 26. Apr 2017, 14:58

Re: Continuous Install Error

Post by exuberocity »

No real arguments there for sure. Post this install I installed 3 other applications (2 from MSI files and 1 from exe) and they installed fine. Just this one is having the issue.

I've ran temp / registry clean up tools, rebooted, etc.

Thoughts?
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: Continuous Install Error

Post by mpack »

I'm afraid I don't know enough about Windows Installer to support it. I've never seen the errors mentioned in the first post. I'd think you might get better results on a Windows support site.
cdovh
Posts: 4
Joined: 21. Jun 2016, 15:39

Re: Continuous Install Error

Post by cdovh »

I'm having the same issue. I've extracted the .msi using :

Code: Select all

VirtualBox-5.1.20-114628-Win.exe --extract -path c:\temp\vbox-5.1.20
then i've enabled logging and ran the install:

Code: Select all

VirtualBox-5.1.20-r114628-MultiArch_amd64.msi /lv vbox-5.1.20-install-log-apr-27.txt
crack that open and it'll show you a bunch of errors:

Code: Select all

DIFXAPP: ERROR: encountered while installing driver package 'C:\Program Files\Oracle\VirtualBox\drivers\USB\device\VBoxUSB.inf'
DIFXAPP: ERROR: InstallDriverPackages failed with error 0x5
...
DIFXAPP: INFO: This was the component where the install failure occurred. The rollback for this component must have already occurred at the time of failure. No need to rollback again
DIFXAPP: ERROR: Rollback failed with error 0x2
DIFXAPP: RETURN: RollbackInstall() 2 (0x2)
...
DIFXAPP: INFO:   Uninstalling driver package C:\Windows\system32\DRVSTORE\VBoxUSBMon_C03354F64628429DBCFB594C5EE242675EB874CB\VBoxUSBMon.inf...
DIFXAPP: ERROR:  Unable to revert to a previous driver store for service 'VBoxUSBMon'.
All the errors stem from the USB option. if i uncheck that - VirtualBox will install but it's not as useful without USB support
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: Continuous Install Error

Post by mpack »

And you think that's the same issue because.... ?
cdovh
Posts: 4
Joined: 21. Jun 2016, 15:39

Re: Continuous Install Error

Post by cdovh »

Well i'm not positive that it's the same issue but the error message and logs provided by default produce the same experience that exuberocity. Installer starts, gets most of the way through, then rolls back and shows the same error and screenshot attached here. I dug in a bit deeper and found the switches to enable more logging in an effort to provide more context.
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: Continuous Install Error

Post by mpack »

All MSI errors will result in a crash or a rollback. That doesn't mean they all have same cause. I see nothing in your report about "Windows detected your registry file is still in use by other applications or services".
noteirak
Site Moderator
Posts: 5229
Joined: 13. Jan 2012, 11:14
Primary OS: Debian other
VBox Version: OSE Debian
Guest OSses: Debian, Win 2k8, Win 7
Contact:

Re: Continuous Install Error

Post by noteirak »

This is definitely another issue.
DIFXAPP: ERROR: InstallDriverPackages failed with error 0x5
This means permission denied, so make sure you run it with full Administrator rights, as suggested by Martin.
Hyperbox - Virtual Infrastructure Manager - https://apps.kamax.lu/hyperbox/
Manage your VirtualBox infrastructure the free way!
Post Reply