This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 174148

Summary: Provide more informative description in case of "registry" corruption/missing or installdir change
Product: installer Reporter: massimo <massimo>
Component: NBIAssignee: Libor Fischmeistr <lfischmeistr>
Status: NEW ---    
Severity: blocker CC: dlipin
Priority: P3    
Version: 6.x   
Hardware: All   
OS: Windows XP   
Issue Type: ENHANCEMENT Exception Reporter:
Attachments: screen shot of dialog while uninstalling NB 6.8M1

Description massimo 2009-10-08 18:53:34 UTC
Cannot uninstall NB 6.8M1 in windows. Either by using uninstall.exe or going to Add/Remove Programs in Windows XP, i get
the attached error saying that it cannot find something in the registry. By clicking yes on that dialog it proceeds with
the uninstaller, but ends up finishing by uninstalling nothing. 
How do i now cleanly uninstall NetBeans 6.8 M1?
Comment 1 massimo 2009-10-08 18:54:55 UTC
Created attachment 89133 [details]
screen shot of dialog while uninstalling NB 6.8M1
Comment 2 massimo 2009-10-08 19:30:45 UTC
By searching in the registry, i see that there actually is:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\nbi-nb-base-6.8.0.0.200908022240
Comment 3 Ivan Sidorkin 2009-10-12 08:07:04 UTC
I guess you delete .nbi folder
Dima, please comment
Comment 4 dlipin 2009-10-28 00:45:43 UTC
Looks like it really had place. To cleanly uninstall the NB 6.8M1 read
http://wiki.netbeans.org/NBIFAQ

Another case is when the installation directory was moved to another place. The solution would be return in back to the 
directory when it was originally installed and run the uninstaller.

It`s worth showing the more informative description maybe with URL to the details in both cases.
Probably "registry" should not be used in that message since it ofter confuses users and mixed with Windows registry.
Comment 5 massimo 2011-02-27 04:24:10 UTC
Strange, as I do not think i have ever deleted the .nbi directory nor ever changed the installation directory for any of my NB installations.
I followed the NBIFAQ instructions, except for when it says to remove my .nbi directory: i don't think i would want to do that, because, as i understand, that applies to all my NB installations, and i do not want to remove them all, i only want to remove 6.8.
Looks like 6.8 is cleaned out of my system, except maybe for whatever is in the .nbi directory.
If you do not have any other comments on this (for example about your registry nbi, is it ok like i have it now, or is it compromised at this point, and if so, does it matter?), i will close this issue.
Comment 6 Jiri Rechtacek 2012-10-07 13:05:56 UTC
Assigned to new owner.