Cannot uninstall NetBeans 7.3 on Windows 8

21,262

Solution 1

From: https://netbeans.org/community/releases/65/install.html#troubleshooting

About the Installer Working Directory

The installer stores data about installation sessions in the installer working directory. Examples of this data are the list of components installed on your system, installation log messages, and registry data.

The default location for the installer working directory is %USERPROFILE%.nbi on Windows and ~/.nbi on other platforms. The log subdirectory contains the installation log files.

Cleaning Up After Incomplete Installations

After incomplete or unsuccessful installations, you might need to clean up your system from previous installations.

For Microsoft Windows, Solaris OS, and Linux:

Delete the installer working directory.
Delete the installation directories of the IDE and the GlassFish application server.
On the Windows platform, delete all nbi* registry entries from the following registry keys:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall
HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall

For Mac OS X:

Drag the program folders or files to the Trash.

Solution 2

The uninstallation may fail if uninstaller.exe do not find the .nbi folder at the home directory.

Home directory:

  • Windows : C:\Users\.nbi
  • Unix: ~.nbi

When this happens?

  1. Unsuccessful installations / uninstallations
  2. Installed the netbeans from one user and uninstalling from the different user.

Solution:

  1. Problem 1: Follow the answer from "Dual"
  2. Problem 2:

    1. Open the home directory of the user who installed it.
    2. Copy ".nbi" folder and ".netbeans-XXXX" to your home directory.
    3. Run the uninstaller once again.

The program should uninstall successfully.

Share:
21,262

Related videos on Youtube

CarlG
Author by

CarlG

Updated on September 18, 2022

Comments

  • CarlG
    CarlG almost 2 years

    I have NetBeans 7.3 installed on my laptop, and it is really bugging me because I cannot uninstall it!

    If I try to remove it from Windows 8 add/remove programs, I get the error;

    The specified target component - nb-base/7.3.0.0.201302132200 
    was not found in the registry. The installer can continue as 
    if the target component was specified.
    Click yes to continue, No to exit the installer.
    

    Clicking no obviously exits and nothing is removed. Clicking yes the installer completes the uninstall very quickly and still nothing is removed, the program is fully functional after.

    I have also tried Revo Uninstaller but NetBeans 7.3 doesn't even show up in there.

    Can someone tell me how to remove this program from my computer, either manually or to fix the error so that it can uninstall.

    • Admin
      Admin about 11 years
      So just delete the program's directory. It sounds like the registry keys were already removed.
    • Admin
      Admin about 11 years
      And/or perhaps try reinstalling it and then uninstall it again.
    • Admin
      Admin about 11 years
      @Ramhound You were right, this is also why it wasn't showing in revo. I removed the folders, then re-installed, and uninstalled successfully, I have no idea how the registry keys were removed though!
    • Admin
      Admin about 11 years
      @CarlG - The original installation likely simply failed without your knowlege, you uninstalled it and because their installer sucks, it didn't remove itself. Any number of logical explainations can be thought of.
    • Admin
      Admin almost 11 years
      I just ran into this same problem with Netbeans 7.3.1 on Windows 8 and by deleting the Netbeans directory I was able to re-install and then uninstall the program successfully. Thanks!
    • Admin
      Admin about 9 years
      @CarlG Answer it yourself and set the answered flag ;)