Can't Update or Uninstall Extension Pack

Discussions related to using VirtualBox on Windows hosts.

Can't Update or Uninstall Extension Pack

Postby Ex_Brit » 22. Dec 2011, 03:38

VB4.1.8 has 4.1.6 extension pack installed because I previously was using it to host a Windows XP SP3 VM, now that is gone and it hosts a BOINC Cern Test4Theory VM.

I was asked to update the extension pack but it failed as follows:

Failed to install the Extension Pack C:/Users/Peter/Downloads/Oracle_VM_VirtualBox_Extension_Pack-4.1.8.vbox-extpack.

The installer failed with exit code 1: VBoxExtPackHelperApp.exe: error: Failed to rename the extension pack directory: VERR_ALREADY_EXISTS

rcExit=1.

Result Code: E_FAIL (0x80004005)
Component: ExtPackManager
Interface: IExtPackManager {3295e6ce-b051-47b2-9514-2c588bfe7554}


So, as I don't need it for BOINC projects, I figured I would uninstall it and got a similar error:

Failed to uninstall the Extension Pack Oracle VM VirtualBox Extension Pack.

The installer failed with exit code 1: VBoxExtPackHelperApp.exe: error: Failed to rename the extension pack directory: VERR_ALREADY_EXISTS

rcExit=1.

Result Code: E_FAIL (0x80004005)
Component: ExtPackManager
Interface: IExtPackManager {3295e6ce-b051-47b2-9514-2c588bfe7554}


I'm a novice with VM's really so am wondering if I need to worry about this. I have tried removing the VM and uninstalling everything then starting over again but it would seem that the uninstaller doesn't remove everything as the new VB started up in exactly the same situation.

I'm wondering if this is a known issue?

Tried this in Safe Mode too, same error.

By the way your board profile settings wont let me input my installed VB version number in the appropriate box.
Peter
Toronto, Canada
Ex_Brit
 
Posts: 2
Joined: 22. Dec 2011, 03:24
Location: Toronto, Canada
Primary OS: MS Windows Vista
VBox Version: OSE other
Guest OSses: nil

Re: Can't Update or Uninstall Extension Pack

Postby berndleutenecker » 22. Dec 2011, 16:36

Hi!

Same problem here (Win7 x64 ultimate, user with administrative rights but
active UAC) - even after starting VirtualBox.exe as administrator.

<error-message with translation>
Das Zusatzpaket S:/_Tools/Oracle-Sun/VirtualBox/Oracle_VM_VirtualBox_Extension_Pack-4.1.8.vbox-extpack
konnte nicht installiert werden.
[The extension pack PATH/filename could not be installed. (S:' is the drive letter
of a shared folder on a local device. As I too can't uninstall the older extension
pack I don't think that the use of this mapped folder is the reason)]

The installer failed with exit code 1: VBoxExtPackHelperApp.exe: error: ShellExecuteExW failed: 1223 (0x4c7).

Fehlercode:E_FAIL (0x80004005)
[errorcode]

Komponente:ExtPackManager
[component/module]

Interface:IExtPackManager {3295e6ce-b051-47b2-9514-2c588bfe7554}
</error-message with translation>

To me it seems to be a problem with the proper use of UAC (but I haven't
tried deactivating UAC yet as I would rather have a 'real' solution than a
workaround).
The installation / uninstall of the new / old extension pack has already
started when UAC prompts to give administrative rights. This might be
too late - the error message is often already displayed in the
background.

Any hints?

Thank you!

Bernd Leutenecker
berndleutenecker
 
Posts: 13
Joined: 9. Jan 2010, 02:03
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: Windows 7 (x64) / Ubuntu

Re: Can't Update or Uninstall Extension Pack

Postby pikolo » 22. Dec 2011, 17:30

I've the same error when try to uninstall the extension pack of version 4.0.1 while Virtual Box version is 4.1.8.
I'm getting the error code
Code: Select all   Expand viewCollapse view
VERR_ALREADY_EXISTS

I've deleted the folder:
Code: Select all   Expand viewCollapse view
C:\Program Files\Oracle\VirtualBox\ExtensionPacks\Oracle_VM_VirtualBox_Extension_Pack-_-uninst

Tried to uninstall the extension pack and all went well.


After that, I succeeded to installed the new extension pack of version 4.1.8.

This solution was based on ticket #9269

Hope this will help you as well
pikolo
 
Posts: 1
Joined: 22. Dec 2011, 17:12
Primary OS: Linux other
VBox Version: OSE other
Guest OSses: Linux + Windows

Re: Can't Update or Uninstall Extension Pack

Postby Ex_Brit » 22. Dec 2011, 17:49

Well that was simple, it worked. Thank you! ;-)
Peter
Toronto, Canada
Ex_Brit
 
Posts: 2
Joined: 22. Dec 2011, 03:24
Location: Toronto, Canada
Primary OS: MS Windows Vista
VBox Version: OSE other
Guest OSses: nil

Re: Can't Update or Uninstall Extension Pack

Postby berndleutenecker » 22. Dec 2011, 18:17

Hello!

This worked for me too - although it is just another workaround ...

I renamed the mentioned folder and tried to uninstall the older
extension pack. First it failed like before but when I retried it the
entry of the previously installed extension pack was deleted (nothing
else happened).

After that I could install the new extension pack without any problems.

By the way - to uninstall and install I used the 'Oracle VM VirtualBox
Manager': Datei [File] - Globale Einstellungen... [global settings...] -
Zusatzpakete [extension packs]

But now I am even more convinced that there is a problem with the
proper use of UAC in VirtualBox for Windows. I guess that the
developers have UAC disabled - and then they forget to activate it
again and check their product ...

Thank you!

Bernd Leutenecker
berndleutenecker
 
Posts: 13
Joined: 9. Jan 2010, 02:03
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: Windows 7 (x64) / Ubuntu

Re: Can't Update or Uninstall Extension Pack

Postby JulianTosh » 3. Jan 2012, 18:53

This has plagued me for months. Post a Bitcoin address and I'll send it a dollar. If you dont do Bitcoin, post a charity's address and I'll send it there.

Thanks for fixing this for me!

Julian

pikolo wrote:I've the same error when try to uninstall the extension pack of version 4.0.1 while Virtual Box version is 4.1.8.
I've deleted the folder:
Code: Select all   Expand viewCollapse view
C:\Program Files\Oracle\VirtualBox\ExtensionPacks\Oracle_VM_VirtualBox_Extension_Pack-_-uninst

JulianTosh
 
Posts: 5
Joined: 26. May 2011, 22:50
Primary OS: MS Windows 7
VBox Version: OSE Fedora
Guest OSses: fedora window7

Re: Can't Update or Uninstall Extension Pack

Postby Joska » 5. Apr 2012, 17:25

Try
vboxmanage extpack cleanup
before updating the extension pack.
Joska
 
Posts: 1
Joined: 5. Apr 2012, 17:23

Re: Can't Update or Uninstall Extension Pack

Postby MKirn » 29. Jun 2012, 23:39

Deletion didn't work for me, but changing the permissions on the parent folder did the trick. Right click on the ExtensionPacks folder:
Code: Select all   Expand viewCollapse view
C:\Program Files\Oracle\VirtualBox\ExtensionPacks

Edit the permissions in the security tab to give TrustedInstaller full control. This could be a minor security hole, so you may want to modify back to the original permissions after you install - VBox still works fine as it doesn't run as an installer.
MKirn
 
Posts: 1
Joined: 29. Jun 2012, 23:34

Re: Can't Update or Uninstall Extension Pack

Postby java007md » 1. Jul 2012, 23:39

Joska wrote:Try
vboxmanage extpack cleanup
before updating the extension pack.


Thanks, encountered the same issue and this worked for me.
java007md
 
Posts: 2
Joined: 12. Feb 2012, 02:27


Return to VirtualBox on Windows Hosts

Who is online

Users browsing this forum: Bing [Bot], Nielas Aran and 51 guests