IzPack

Installer recursively removes install directory when cancelled.

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: None
  • Fix Version/s: 4.0.0
  • Component/s: Installer
  • Labels:
    None
  • Environment:
    Ubuntu Linux 7.1
  • Number of attachments :
    0

Description

When the installer is running and is processing the Install Pack to write the files to the disk, cancelling the process by clicking the close window button at the top right of the window brings up a dialog asking if you are sure that you want to cancel the installation.

If you select "Yes", the installation is cancelled and the directory that the software was installing to is removed along with all its files and sub-directories.

This is not really acceptable in that the user could, for example, realise that they have chosen the wrong directory to install to, cancel the installation and consequently lose data and directories.

Activity

Hide
Julien Ponge added a comment -

You are right, this behavior can cause problems.... This will be fixed by somebody for version 4.0.0.

If you have time, could you please investigate and make a patch?

Show
Julien Ponge added a comment - You are right, this behavior can cause problems.... This will be fixed by somebody for version 4.0.0. If you have time, could you please investigate and make a patch?
Hide
Julien Ponge added a comment -

The unsafe wiping code has been removed.

Thanks for reporting it.

Show
Julien Ponge added a comment - The unsafe wiping code has been removed. Thanks for reporting it.
Hide
Thomas Demande added a comment -

Can I have an idea of what has been changed in the code?
We do have to get rid of this, but still having < 4.0.0 version, for Java 4 compatibility, so knowing what's to be done would greatly help!

Thanks

Show
Thomas Demande added a comment - Can I have an idea of what has been changed in the code? We do have to get rid of this, but still having < 4.0.0 version, for Java 4 compatibility, so knowing what's to be done would greatly help! Thanks

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved:

Time Tracking

Estimated:
Not Specified
Original Estimate - Not Specified
Remaining:
0m
Remaining Estimate - 0 minutes
Logged:
30m
Time Spent - 30 minutes