Extension Pack cannot be uninstalled

This is for discussing general topics about how to use VirtualBox.
Post Reply
nonsolum
Posts: 30
Joined: 25. Oct 2022, 17:14
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Win 10-11, Linux

Extension Pack cannot be uninstalled

Post by nonsolum »

Bonjour,
Lors d’une mise à jour de la version Extension Pack
Version actuelle : 7.0.18r 162988
Version nouvelle : 7.0.20r 163908

Impossible de désinstaller la version actuelle

Code Erreur :
Result Code: E_FAIL 0x80004005

Lorsque je tente de désinstaller manuellement la version actuelle j’ai la même erreur.
multiOS
Volunteer
Posts: 1205
Joined: 14. Sep 2019, 16:51
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, Linux, BSD
Location: United Kingdom

Re: Extension Pack cannot be uninstalled

Post by multiOS »

Try this:

Screenshot 2024-08-10 at 14.23.20.png
Screenshot 2024-08-10 at 14.23.20.png (67.54 KiB) Viewed 2337 times
'Click' the bullet point list icon to select the Extensions option
nonsolum
Posts: 30
Joined: 25. Oct 2022, 17:14
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Win 10-11, Linux

Re: Extension Pack cannot be uninstalled

Post by nonsolum »

Merci

Mais j'ai fait déjà cela.
Ça ne fonctionne pas.
L’extension Pack ne se désinstalle pas.
Même erreur :
Result Code: E_FAIL 0x80004005
multiOS
Volunteer
Posts: 1205
Joined: 14. Sep 2019, 16:51
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, Linux, BSD
Location: United Kingdom

Re: Extension Pack cannot be uninstalled

Post by multiOS »

O.K. the next step is to use the VirtualBox Command Line (VBoxManage Commands)

The Extension Pack Install/Uninstall guidance is in the VirtualBox User Manual - VirtualBox 7.0.20 Section 9.52 Pages 322-324). There is a forced (--force) uninstallation option if the standard uninstall command doesn't work:

"VBoxManage extpack uninstall --force <name of the exertion pack>"

and a cleanup command to remove any left overs temporary Extension Pack folders and files

"VBoxManage extpack cleanup"
nonsolum
Posts: 30
Joined: 25. Oct 2022, 17:14
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Win 10-11, Linux

Re: Extension Pack cannot be uninstalled

Post by nonsolum »

Bonjour,

Merci multiOs
J'ai suivi ta suggestion d'utiliser VBoxManage.
Mais j'ai la même erreur: error: Details: code E_FAIL (0x80004005)

 Edit: PS C:\Program Files\Oracle\VirtualBoxNew> .\VBoxManage extpack uninstall --force "Oracle VM VirtualBox Extension Pack"
0%...E_FAIL
VBoxManage.exe: error: Failed to uninstall "Oracle VM VirtualBox Extension Pack"
VBoxManage.exe: error: The installer failed with exit code 1: VBoxExtPackHelperApp.exe: error: Failed to delete the extension pack directory: VERR_ACCESS_DENIED ('C:\Program Files\Oracle\VirtualBoxNew\ExtensionPacks\Oracle_VM_VirtualBox_Extension_Pack-_-uninst')
VBoxManage.exe: error: rcExit=1
VBoxManage.exe: error: Details: code E_FAIL (0x80004005), component ExtPackManagerWrap, interface IExtPackManager
VBoxManage.exe: error: Context: "enum RTEXITCODE __cdecl handleExtPack(struct HandlerArg *)" at line 1951 of file VBoxManageMisc.cpp
PS C:\Program Files\Oracle\VirtualBoxNew> 
multiOS
Volunteer
Posts: 1205
Joined: 14. Sep 2019, 16:51
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, Linux, BSD
Location: United Kingdom

Re: Extension Pack cannot be uninstalled

Post by multiOS »

As this option also failed all I can suggest is:

1. Report the problem on the Public Bugtracker - https://www.virtualbox.org/wiki/Bugtracker You could also link your report back to this thread to show what action you've already tried.

OR

2. Try a complete uninstall and re-install of the VirtualBox application, which should also remove all traces of the Extension Pack, which is added to the program installation. If the standard uninstallation procedure doesn't work, you might need to try a forced uninstallation using a third-party uninstaller such as the freeware version of Revo Uninstaller - https://www.revouninstaller.com/product ... ller-free/

Your Virtual Machine data folder should not be affected by any program uninstallation, but it's best to have a useable backup in case of any system problems.
nonsolum
Posts: 30
Joined: 25. Oct 2022, 17:14
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Win 10-11, Linux

Re: Extension Pack cannot be uninstalled

Post by nonsolum »

Bonjour,

Merci multios,

J’ai pu régler le problème en passant cette commande :

Code: Select all

PS C:\Program Files\Oracle\VirtualBoxNew> .\VBoxManage extpack cleanup
Successfully performed extension pack cleanup
Ça m’a supprimé l’ancienne extension pack qui refusait de se désinstaller.
J’ai ensuite installé par l’interface graphique la nouvelle Extension Pack 7.0.20 que j’avais téléchargée préalablement.

Tout est OK maintenant.
A noter que ces actions doivent se faire sous un compte administrateur ou exécuter en tant qu’administrateur.
multiOS
Volunteer
Posts: 1205
Joined: 14. Sep 2019, 16:51
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, Linux, BSD
Location: United Kingdom

Re: Extension Pack cannot be uninstalled

Post by multiOS »

Thank you (Merci :D )

I'm pappy that you've solved the problem.

Meilleurs voeux
Post Reply