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 32695 - Installer shoul behave more predictable to the user when installing into non-empty dir
Summary: Installer shoul behave more predictable to the user when installing into non-...
Status: CLOSED FIXED
Alias: None
Product: installer
Classification: Unclassified
Component: Code (show other bugs)
Version: 3.x
Hardware: PC Linux
: P1 blocker (vote)
Assignee: issues@installer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-04-07 19:06 UTC by dmladek
Modified: 2004-07-27 15:24 UTC (History)
0 users

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 dmladek 2003-04-07 19:06:17 UTC
Tested on NetBeansIDE-release35-200304062350-linux.bin
=======================================================

My idea of polite and gentle installer's behaviour
when trying install it into non-empty directory is
that the installer should interact with a user in
this way:

1) user choose non-empty dir
  Installer should tell it the user: 
    "you select non-empty dir! Would you like
still continue
    installation into this dir?"

And this question has to come imediately or
maximum late possibility is when pressing NEXT button.

 There alsou could be more polite behaviour, like
detection other version of the IDE so, the
installer then should inform the user about it
(please see the issue #32524 where Richard
describs how the installer could behave when deal
with such situation)

But in this basic case, which I think will be till
now enough...
Should ask user already mentioned question...
And if user respons
YES
then it should continue in istallation, and when
the file conflict happens (file already exists in
the destination directory), Installer should ask
user about overwritting with folowing possible
answers:
"yes, yes to all, no,  no to all" and maybe cancel?


if user say
NO (for installing into non-empty dir)
then installer should stay in install dir's
choosing panel.
Comment 1 Richard Gregor 2003-04-08 07:52:02 UTC
Scheduled for 4.0
Comment 2 pzajac 2003-04-15 11:44:01 UTC
Richard, why you sheduled this enhancement  for 4.0? I think, that
this is a serious defect. Because there is no way how to  cancel the
installation to nonempty directory. Is it so difficult to show one
confirmation dialog that installation directory is not empty?

Comment 3 zikmund 2004-01-29 19:12:04 UTC
Installator 3.6 doesn't allow user to install NB into an empty directory.
Marking as fixed.