Error installing V-Box Addons

Discussions related to using VirtualBox on Mac OS X hosts.
Post Reply
ToPoe
Posts: 7
Joined: 3. Feb 2016, 13:46

Error installing V-Box Addons

Post by ToPoe »

Hi,

does anybody experienced this issue ?
Try to install VIrtual Box Addons in Virtual Box but get error

Virtual Box Version 5.0.14 r105127
Mac OS-X 10.11.3
Windows 10pro 64Bit

Already tried:
- Compatibiltiy Mode Win7
- Used different Directory in Applications folder
- uninstalled all old Vbox addons
- reboot
- win system cleaning / scandisc / chkdsk - f
- safemode

Maybe this came with the latest windows update but I´m not sure.
Thanks for any help.

To

Error Log (full in file attached)

The Error occurs while installation:
INF-File: C:\Program Files\Oracle\Vbox Addons\VirtualBox Guest Additions\VBoxGuest.inf
(1) ENTER: DriverPackageInstallW
(1) Installing INF file 'C:\Program Files\Oracle\Vbox Addons\VirtualBox Guest Additions\VBoxGuest.inf' (Plug and Play).
(1) ERROR: 3 - Could not open file C:\WINDOWS\System32\DriverStore\FileRepository\vboxguest.inf_amd64_8fad799dfcf65e7a\vboxguest.inf.
(3) ERROR: 1006 - PnP Install failed.
(1) Attempting to rollback ...
(1) No devices to rollback
(1) RETURN: DriverPackageInstallW (0x3EE)
ERROR (000003ee): Der Datentr‰ger einer Datei wurde extern so ge‰ndert, dass die geˆffnete Datei nicht mehr g¸ltig ist.
Execution returned exit code: 2
Attachments
fehler_virtualbox.txt
(5.56 KiB) Downloaded 14 times
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: Error installing V-Box Addons

Post by mpack »

How exactly are you installing the Guest Additions?
ToPoe
Posts: 7
Joined: 3. Feb 2016, 13:46

Re: Error installing V-Box Addons

Post by ToPoe »

I tried many ways:

1.) attach "virtual CD with addons" -> with normal start
2.) as administrator
3.) with compatibility mode windows 7
4.) with compatibility mode windows 8
5.) started in safe mode

There is another "old" (not the same key as in the logfile) Vbox folder under windows/system32/DriverStore/FileRepository/vboxguest.inf and vboxvideo but I
can´t delete them due to missing system rights.

Chers, Tobias
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: Error installing V-Box Addons

Post by mpack »

I asked for "exactly". Those are just chapter headings.

Have you looked at the user manual, chapter 4? It tells you how to install the GAs for Windows guests. Don't do anything that chapter 4 doesn't tell you to do. In particular I do hope you didn't download a "GAs ISO" from some random place, since the correct file is bundled with VirtualBox, and a simple menu option selects it.

I do hope all that messing with compatibility modes hasn't wrecked your chances entirely: if VBox needed a compatibility mode the manual would tell you so.
ToPoe
Posts: 7
Joined: 3. Feb 2016, 13:46

Re: Error installing V-Box Addons

Post by ToPoe »

Sorry, you´re completely right, I checked the manual and followed the steps, but without success.
I always used the "Insert guest addons image" feature, never any other setup. The error always was the same.

I took a small video of the install process, maybe this helps?
https://www.dropbox.com/s/uir6670vhikki ... e.m4v?dl=0

Thanks
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: Error installing V-Box Addons

Post by mpack »

"Insert Guest Additions CD", and then presumably you run VBoxWindowsAdditions.exe. In fact I suggest that you use "Run as administrator" and that you run "VBoxWindowsAdditions-amd64.exe".
ToPoe
Posts: 7
Joined: 3. Feb 2016, 13:46

Re: Error installing V-Box Addons

Post by ToPoe »

Thanks, I tried but without luck, to be seen here
https://www.dropbox.com/s/r539eesiz1nbi ... 2.m4v?dl=0

Error seems to be similar to this:
viewtopic.php?f=2&t=64251
but uninstall via cmd didn´t work either
ToPoe
Posts: 7
Joined: 3. Feb 2016, 13:46

Re: Error installing V-Box Addons

Post by ToPoe »

ok, one step closer:

I added the missing vboxguest.inf to the path where it has been missing:
c:\windows\system32\DriverStore\FileRepository

using a tool "takeOwnership" to get access to system files

Now the installation tool stops telling:

VBoxGuest.inf is been missing under

c:\Program Files\Oracle\VirtualBox Guest Additions

BUT the file is there, I can see it ;-)
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: Error installing V-Box Addons

Post by mpack »

ToPoe wrote: Error seems to be similar to this:
viewtopic.php?f=2&t=64251
but uninstall via cmd didn´t work either
That report is from last year when Win10 was still in beta. Things have moved on since then. I'm not aware that many people are running 5.0.14 and having problems installing the GAs.
ToPoe
Posts: 7
Joined: 3. Feb 2016, 13:46

Re: Error installing V-Box Addons

Post by ToPoe »

yes, thats the thread I found already - but uninstallation didn´t help.
But it seems to me that there must be the same bug, but obviously not completely fixed.

Isn´t there a tool, which completely can deinstall addons ? After uninstallation many directories and registry entries are not removed...
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Error installing V-Box Addons

Post by socratis »

ToPoe wrote:But it seems to me that there must be the same bug, but obviously not completely fixed.
You assume it's a VirtualBox bug. It may be, it may be not. People have been reporting that it has to do with the permissions on the DriverStore directory (and therein). In fact if you search for "Could not open file C:\WINDOWS\System32\DriverStore\FileRepository" you'll find that a lot of people are facing the same "bug" in actual Windows machines.

But, here's something worth trying. There's been a couple of fixes in the Guest Additions and you can try the latest test build from https://www.virtualbox.org/wiki/Testbuilds and see if that works. Or not.
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.
ToPoe
Posts: 7
Joined: 3. Feb 2016, 13:46

Re: Error installing V-Box Addons

Post by ToPoe »

YES! The Version 5.0.15 r105410 did the job. I tested 5.0.12 without success but your hint saved my day!
Big thanks and I hope this helps every other who has trouble.
Nice weekend!
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Error installing V-Box Addons

Post by socratis »

Nice!

The way that Windows 10 is being developed is a rolling release. The developers have to play a game of cat and mouse with the new releases. For example, I noticed that you didn't even mention the Windows 10 build, but I wouldn't be surprised if it is the latest and greatest, and the developers had to tweak something to make it work.
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.
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: Error installing V-Box Addons

Post by mpack »

Yep. This conflation of Windows 10 builds is getting to be a PITA. It obviously can't be treated as a single entity like past Windows releases. We're going to have to start insisting on a build number - or a log file that tells us the build number.
loukingjr
Volunteer
Posts: 8851
Joined: 30. Apr 2009, 09:45
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: just about all that run

Re: Error installing V-Box Addons

Post by loukingjr »

FWIW, I haven't had any problem installing the guest additions up to VB 5.0.15 in Windows 10 Insider Preview up to build 14257.
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
Post Reply