Page 1 of 1

Can't Update or Uninstall Extension Pack

Posted: 22. Dec 2011, 03:38
by Ex_Brit
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.

Re: Can't Update or Uninstall Extension Pack

Posted: 22. Dec 2011, 16:36
by berndleutenecker
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

Re: Can't Update or Uninstall Extension Pack

Posted: 22. Dec 2011, 17:30
by pikolo
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

VERR_ALREADY_EXISTS
I've deleted the folder:

Code: Select all

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

Re: Can't Update or Uninstall Extension Pack

Posted: 22. Dec 2011, 17:49
by Ex_Brit
Well that was simple, it worked. Thank you! ;-)

Re: Can't Update or Uninstall Extension Pack

Posted: 22. Dec 2011, 18:17
by berndleutenecker
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

Re: Can't Update or Uninstall Extension Pack

Posted: 3. Jan 2012, 18:53
by JulianTosh
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

C:\Program Files\Oracle\VirtualBox\ExtensionPacks\Oracle_VM_VirtualBox_Extension_Pack-_-uninst

Re: Can't Update or Uninstall Extension Pack

Posted: 5. Apr 2012, 17:25
by Joska
Try
vboxmanage extpack cleanup
before updating the extension pack.

Re: Can't Update or Uninstall Extension Pack

Posted: 29. Jun 2012, 23:39
by MKirn
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

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.

Re: Can't Update or Uninstall Extension Pack

Posted: 1. Jul 2012, 23:39
by java007md
Joska wrote:Try
vboxmanage extpack cleanup
before updating the extension pack.
Thanks, encountered the same issue and this worked for me.

Re: Can't Update or Uninstall Extension Pack

Posted: 3. Nov 2020, 03:27
by Larry Talley
"Right click on the ExtensionPacks folder:
C:\Program Files\Oracle\VirtualBox\ExtensionPacks
Edit the permissions in the security tab to give TrustedInstaller full control"

worked for me, thanks!