VirtualBox

Opened 10 years ago

Closed 10 years ago

#12839 closed defect (invalid)

VirtualBox_Uninstall.tool fails to remove all Virtual Box related files

Reported by: dr3fernek Owned by:
Component: other Version: VirtualBox 4.3.8
Keywords: VirtualBox_Uninstall.tool, Uninstall, Reinstall Cc:
Guest type: other Host type: Mac OS X

Description

While encountering problems with Virtual box, I decided to uninstall Virtual Box and Re-Install it. The problem I was having was that I switched a local user account to a local cached network account and moved around some directories (ie. /Users/user1 to /Users/netuser1), and this broke the VirtualBox application because it was still pointing to the old user's folder.

I uninstalled using the VirtualBox_Uninstall.tool which removed the App and its files. What I did notice is that, when I uninstalled and reinstalled, the App was still pointing to the old users folder. So I poked around the system and found a inside the user's folder, ~/Library/VirtualBox/VirtualBox.xml and this file still had the old user's folder in it. Now this is expected because I moved the local user folder to the network user folder. So to get around the issue I edited the xml file to point to the correct user folder and then it worked with no further issues.

This being said, my issue with the VirtualBox_Uninstall.tool script is that it should search inside user folders for that VirtualBox folder and remove its contents. This way when a re-install takes place, regardless of the user, there's folder problems.

Just my two cents.

Change History (2)

comment:1 by dr3fernek, 10 years ago

Oops. I just realized I had a typo at the end. It should be "This way when a re-install takes place, regardless of the user, there are no folder hierarchy related problems."

comment:2 by galitsyn, 10 years ago

Resolution: invalid
Status: newclosed

Please note that VirtualBox_Uninstall.tool is not supposed to remove files from user directories (such behavior is intentional and applies to all the platforms VBox is running on). Please also do not move configuration files manually, but let VBox to re-create a new ones instead.

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use