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 150326 - Uninstall does not work if installation of several products is performed into the same directory
Summary: Uninstall does not work if installation of several products is performed into...
Status: RESOLVED DUPLICATE of bug 162568
Alias: None
Product: installer
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@installer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-16 06:54 UTC by schmandt
Modified: 2009-04-14 11:33 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description schmandt 2008-10-16 06:54:48 UTC
i installed nb 65 rc incorrectly, i'm pretty sure the only problem was that i installed everything and
in specifying the directory for glassfish, i replaced the default path to myNB, where i should have
specified myNB/glassfish.  This is on windows.

So i had some problems and could not just install the same build in a different location, the
installer would not let me do that (see issue 150325, this is a bad restriction for QE's testing
purposes).  So i had to uninstall.  But after running the uninstaller there were still some files
left in myNB dir (this is the dir i had set for all install choices).  Not only that but somebody
was left with a windows lock on that directory because i could not rename it or delete it.  so
i had to reboot win and THEN rename that dir before the installer would let me install again.

 Basically my understanding of the implied contract is that if your installer installed it, your uninstaller
had better uninstall it cleanly or it does not work correctly.
Comment 1 schmandt 2008-10-16 06:55:51 UTC
btw this was on the 20081014 rc build.
Comment 2 dlipin 2008-10-16 07:52:35 UTC
please attach installation and uninstallation logs (~/.nbi/log).
Comment 3 dlipin 2009-03-21 11:21:33 UTC
Well... 2 issues here:
1) Install allows to install 2 or more components (with, at least, one with getRemovalMode() method returning ALL) to 
one installation directory.
2) Installing 2 components (with registerInSystem() = true) at the same directory generates 2 uninstallers with the 
same name. As the result the second one overwrites the first one.
Comment 4 dlipin 2009-04-14 11:33:21 UTC
I`ve submitted 2 separate issues - Issue 162568 and Issue 162570.
Closing this one as the duplicate of the first one. Feel free to add yourself to the CC list in that issues.

*** This issue has been marked as a duplicate of 162568 ***