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 66965 - Add support for reinstallation
Summary: Add support for reinstallation
Status: NEW
Alias: None
Product: installer
Classification: Unclassified
Component: Code (show other bugs)
Version: 5.x
Hardware: All All
: P2 blocker with 3 votes (vote)
Assignee: Libor Fischmeistr
URL:
Keywords:
: 65161 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-10-17 14:58 UTC by mslama
Modified: 2014-02-10 14:16 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments
Starting point for impl (17.05 KB, text/plain)
2005-10-17 15:04 UTC, mslama
Details

Note You need to log in before you can comment on or make changes to this bug.
Description mslama 2005-10-17 14:58:59 UTC
Installer should be able to run uinstaller (in silent mode) of already installed
version if it is found in destination directory. It means user will be able
easily reinstall exisint installation.
Comment 1 mslama 2005-10-17 15:04:57 UTC
Created attachment 26033 [details]
Starting point for impl
Comment 2 mslama 2005-10-17 15:07:30 UTC
Attached modified InstallLocationPanel.java with some code from Profiler
installer. Needs to be modified to work correctly, localized strings to be
modified,....
Comment 3 dlipin 2007-09-27 09:08:53 UTC
*** Issue 65161 has been marked as a duplicate of this issue. ***
Comment 4 mslama 2008-10-17 15:33:49 UTC
I think it is not valid any more. Current installer is able to add/remove installed component. Dmitry does it make sense
to reinstall or 'repair' current installation? If not please close.
Comment 5 nimarukan 2008-11-03 19:44:16 UTC
RFE: restore initial configuration (installer)

No easy way to restore the initial configuration.
(profiler broke after removing some plug-in modules, wanted to restore initial config)

1. Installed Netbeans 6.5rc2.
2. Removed some plug-ins I thought I didn't currently need (trim footprint)
  (Database, Local History, CVS, Hibernate, SaaS, ...)
  Restarted.
3. Found that Profile Main Project is disabled.
  (No hint as to why it was disabled.  Figured it out after step 10 below.
   It should have warned me the module was needed for Profiler.  Issue 152229)
4. Tried restoring Database to see if that would fix it.  Did not.
5. Ran installer.  It complained that all modules are already installed.
  (Expected to be able to restore initial configuration.)
6. Uninstalled NetBeans.
  (Don't want users to do this, they might not install again.)
7. Ran installer.  It complained that the default directory was not empty.
  (apparently the uninstaller didn't uninstall everything, such as the
   database module)
8. Deleted the old directory.  
9. Ran installer.  Now installer could run.
10. Ran netbeans.  Yay, Profile Main Project enabled again.

Expected: In step 5, expected installer to restore initial
configuration by overwriting old configuration, or at least offer the
option to do so.
Comment 6 Jiri Rechtacek 2012-10-07 13:05:55 UTC
Assigned to new owner.