-
Notifications
You must be signed in to change notification settings - Fork 866
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to uninstall #8049
Comments
I am no windows expert but I don't know this particular version. I tried to uninstall NB 24 on win 11 (in virtualbox) and it worked fine for me. (haven't tried NB 23, but the installer didn't change between the two releases) |
I'm having the same issue while uninstalling NetBeans 23. |
Nathan,
Short answer: no!
I have moved on to -24, but there is still a -23 installed as well.
Regards, Bruce
From: Naymur Rahman ***@***.***>
Sent: Monday, 16 December, 2024 04:21
To: apache/netbeans ***@***.***>
Cc: Bruce Haddon ***@***.***>; Author ***@***.***>
Subject: Re: [apache/netbeans] Unable to uninstall (Issue #8049)
[External email - use caution]
I'm having the same issue while uninstalling NetBeans 23.
Did you manage to resolve the problem?
-
Reply to this email directly, view it on GitHub<#8049 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AYPSWFJRVOAZ3XB2GFHYIKT2F2ZQPAVCNFSM6AAAAABTSZ3FECVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNBVGM2DMNZUHE>.
You are receiving this because you authored the thread.Message ID: ***@***.******@***.***>>
|
i repeated the test with NB 23 and it worked too. Installed, launch, close, uninstall. next I installed both NB 23 and 24 side by side and then uninstalled both again. All worked without problems. Win 11 with latest updates. |
Same problem here. Unable to uninstall Netbeans 23, because target component was not found in registry. |
Just want to add that I too have the same problem. I installed NB 24, used it a few days and than tried to uninstall NB 23. Exactly the same issue as described in this issue. Windows version: 23H2 (OS Build 22631.4602) |
22 December 2024 I installed version 24 of NetBeans On a Windows 11 24H2 |
Same issue too. P.S.: Don't forget to make registry.xml backup before editing |
I also encountered this problem. Is it possible that this just happens with multiple installed versions of NetBeans? I have 20, 21, 22, 23. I wanted to remove 20, 21 and 23. NB 22 was still my production IDE. I also deleted .nbi folder nothing helped. And also NB 20 and NB 21 is not possible to deinstall. As far as I can remember I've never had the problem before 20. So was there a change from installer for 19 - 20? Or is this maybe due to a windows update? I often have multiple installed NB instances due to testing and for me this is a common thing. Win 11, 64bit, JDK 17 |
Ok more investigation. If you install NetBeans and you uninstall it, everything is fine directly after it. If you manipulate the .nbi folder whyever this happens, after this you can't deinstall it anymore. I mean yes it seems clear because in the registry.xml there seems entries to remove from windows but if there are nothing inside anymore, due to deletion, IMHO it should run anyway but not cleaning up the registry. The folder will be created again with an empty registry.xml file or just commong xml stuff without the registry entries needed. |
I will also try the fix from @nexus3a which I thought could help here. Thx for the hint. But still, the question stays, something happened to .nbi, maybe. |
no changes happened to the installers and they were all tested - they do also still work in vbox if you try install/uninstall. My hypothesis is too that something happens during windows upgrade which breaks the installation config so that it can't be uninstalled anymore. However, I can't test this since win 11 does not let me upgrade to 24H2 in vbox. there is also #8058 (comment) |
its likely time to retire NBI since it isn't maintained anyway and only used for windows, the community installers work fine. |
Unfortunately it didn't workout for me, I don't get the error anymore, but the uninstaller stucks at 10% since 2h. Will check what I've missed. |
I'm going to test the method proposed above. |
@armenios1710 We have a portable version, since forever. You just need to download the *-bin.zip file which is the very first link. Yes maybe we need to add the phrase "and portable" to it. |
Oh yes, that's right, I just saw thanks, I just started using Netbeans to combine a web project and java for that |
Friends and Colleagues (those with NetBeans-23 problems),
I did try the method suggested of saving a copy of "registry.xml", replacing the
references to "24" to "23", and again attempting the uninstall of NetBeans-23.
This still failed, due, I believe, to perhaps also having to replace the build
number.
So, having tried a scalpel, I decided to try a chain saw.
I copied and saved the entire ".nbi" folder, and renamed the NetBeans-23 folder
in "Program Files." I then reinstalled NetBeans-23, and this was successful.
I then immediately uninstalled that new installation, and that was also
successful. The following steps were then to delete the renamed NetBeans-23
folder, and restore the ".nbi" folder.
A nearly as I can determine from checking all my projects and settings in the
NetBeans-24 installation, nothing has changed, and it (so far) is working as
expected.
My assumption (and somebody at Apache please verify) that uninstalling the
newly installed NetBeans-23 would have also cleaned up all related settings
everywhere, so now my system is now really clean of anything "23".
Nevertheless, the uninstaller needs to be repaired. It does claim that it can
proceed without the needed entries in "registry.xml", and certainly goes
through the motions of presenting the right dialogs all the way to "Finish," But
in the meantime, does nothing. (This is a violation of the contract with the user.)
The whole point of having an uninstaller is to clean an application out of the
system, and it should be able to do that even if the application is broken (the
alternative is to be left with a system with a collection of broken versions of
applications). This means it must have the capability of going everywhere
looking for the references to the application that it "knows" should exist and be
removed and cleaning them up, even if some are missing data that are
expected. It does not (and should not) take these corrective actions silently, so
that the user is aware of perhaps related problems in the system.
I thank everyone who has taken the time to join this "party", and the number of
such is evidence that corrective action needs to be taken,
All the best,
Bruce
…________________________________
Dr. Bruce K. Haddon
1506 Chambers Drive
+1 303/499 6240
Boulder, CO 80305-7002
***@***.******@***.***>
"Science is facts; just as houses are made of stones, so is science made of facts; but a pile of stones is not a house and a collection of facts is not necessarily science."-Henri Poincare
From: armenios1710 ***@***.***>
Sent: Thursday, 26 December, 2024 07:17
To: apache/netbeans ***@***.***>
Cc: Bruce Haddon ***@***.***>; Author ***@***.***>
Subject: Re: [apache/netbeans] Unable to uninstall (Issue #8049)
[External email - use caution]
Oh yes, that's right, I just saw thanks, I just started using Netbeans to combine a web project and java for that
I was on Eclipse and Visual studio before and sometimes on Intellij
-
Reply to this email directly, view it on GitHub<#8049 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AYPSWFI37P5UPZBEG4C4ZUL2HQFV5AVCNFSM6AAAAABTSZ3FECVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNRSHAYDENZQGU>.
You are receiving this because you authored the thread.Message ID: ***@***.******@***.***>>
|
Just to add some furter information to this. I have NetBeasn 12.5 installed since I have to work in an old Java 8 application and it's just not working well after 12.5 (At least not in my project). Looking in the In summary I have the following versions installed.
|
OK, this was the method I used to solve it:
It's too late for me to write a more detailed explanation (mainly about fixing registry.xml), but I hope this one gives the devs a way to solve it properly. |
duplicate of #4530 |
Apache NetBeans version
Apache NetBeans 23
What happened
I am attempting to uninstall NetBeans 23 and then to install NetBeans 24. But I get the pop-up message shown in the screen shot
dropped below. The message reads:
"The specified target component - nb-all/23 .0.0.240913.0 was not found in the registry. The installer can continue as if the target was not specified. Click yes to continue, No to exit the installer."
Clicking yes brings up the screen with the "Uninstall" button, which when clicked brings up a window with "Setup Complete" in the title, and a "Finish" button. Clicking this and the window goes away. NetBeans 23 is not uninstalled.
Language / Project Type / NetBeans Component
NetBeans Windows uninstaller
How to reproduce
The steps are provided in the description above. It is reproducible as it happens on every attempt. I have no idea how you might reproduce this yourself. Is there any way to use regedit to create the needed registry entry?
(On the first attempt to uninstall, there was a message to say that the registry.xml file in AppData, was in error or incomplete but this did not appear again on the later attempts, or the one used to obtain the screen image.)
As a note, I have installed (and uninstalled) every major and minor release of NetBeans since version 3.0. This is the first time this behavior has been seen.
Did this work correctly in an earlier version?
Apache NetBeans 22
Operating System
Windows Pro 22H2 (build 19045.5247)
JDK
JDK-23 (installed 2024-09-21)
Apache NetBeans packaging
Apache NetBeans provided installer
Anything else
The are no messages in the messages.log file for this date (2024-12-13). Apparently the uninstall did not get far enough along to record any status.
Are you willing to submit a pull request?
No
The text was updated successfully, but these errors were encountered: