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 54182 - Provide better integration of Installer and AutoUpdate
Summary: Provide better integration of Installer and AutoUpdate
Status: NEW
Alias: None
Product: installer
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker with 1 vote (vote)
Assignee: Libor Fischmeistr
URL:
Keywords:
: 108202 153094 175779 190281 (view as bug list)
Depends on: 54668
Blocks: 190281
  Show dependency tree
 
Reported: 2005-01-29 08:01 UTC by Ch Nguyen
Modified: 2014-02-10 14:16 UTC (History)
2 users (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ch Nguyen 2005-01-29 08:01:55 UTC
Here is the use case:

The user installs the product using the installer,
then uses autoupdate to download and install some
modules as patch or product updates.  So the
updater installs these NBMs and actually creates
some new files and directories that the
installer/uninstaller would not know about.  So as
a result, when the user uninstalls the product,
the install directory still left with a bunch of
extra files that were installed by the updater.

Even if the autoupdate module could remove the
files that it installs (as full fillment of iz
49619 & 20323), the user shouldn't be required to
run the autoupdate to remove the modules first and
then run the uninstaller.  So it would be good to
have a way for the uninstaller to know what other
files that were created by the updater so that it
can uninstaller as well.
Comment 1 Jan Chalupa 2005-02-05 21:59:21 UTC
This sounds more like a requirement on installer. Re-assigning.
Comment 2 Ch Nguyen 2005-02-06 04:03:42 UTC
No,  this is not a requirement for the installer but for the updater.
 We need the updater to produce a list of files that it installs from
the NBMs. So that our installer can base on that to clean up the
install directory during uninstall.  Currently, the uninstaller only
uninstalls the files that installs which is correct.  However,  if the
user uses autoupdate to install new NBMs.  The uninstaller won't know
this and won't be able to clean up the install directory cleanly.
Comment 3 mslama 2005-02-08 11:01:00 UTC
I need list of updated/added files from autoupdate. Then uninstaller
can handle it.
Comment 4 mslama 2005-02-08 11:03:07 UTC
I filed new issue #54668 against autoupdate.
Comment 5 mslama 2006-06-20 13:23:10 UTC
We plan closer integration of installer and autoupdate in next version.
Comment 6 dlipin 2007-12-10 12:18:12 UTC
*** Issue 108202 has been marked as a duplicate of this issue. ***
Comment 7 mslama 2008-10-17 15:35:00 UTC
Not sure if it is still valid request.
Comment 8 Yulia Novozhilova 2009-02-27 13:25:13 UTC
*** Issue 153094 has been marked as a duplicate of this issue. ***
Comment 9 dlipin 2009-10-31 09:42:14 UTC
*** Issue 175779 has been marked as a duplicate of this issue. ***
Comment 10 Peter Nabbefeld 2010-09-16 13:03:05 UTC
It obviously causes serious errors (e.g. #190281), so it should be fixed. However, the list of installed modules should not only be used by uninstaller, but only by installer:
After uninstall, an upgrade should re-install as many modules as possible (of course, only those that are still working with the upgraded NetBeans).
Comment 11 Yulia Novozhilova 2010-09-30 10:31:10 UTC
*** Bug 190281 has been marked as a duplicate of this bug. ***
Comment 12 Jiri Rechtacek 2012-10-07 12:58:52 UTC
Assigned to new owner.