IzPack

Mandatory Default Installation Directory

Details

  • Type: New Feature New Feature
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 3.11.0
  • Fix Version/s: 4.0.0
  • Component/s: Panels
  • Labels:
    None
  • Number of attachments :
    0

Description

Need a way to use the default installation directory as the install location without user intervention. Certain software must be installed in a required directory and allowing the user to change it invalidates the installation.

I'm proposing a DefaultTargetPanel and DefaultTargetPanelAutomationHelper be added to the panels package (I'm already using them). This panel is a copy of the TargetPanel that merely sets the idata installation location and then calls skipPanel().

Activity

Hide
Julien Ponge added a comment -

Is the default location customizable through conditions (e.g., a specific OS?).

If so then I suggest that you commit it.

Show
Julien Ponge added a comment - Is the default location customizable through conditions (e.g., a specific OS?). If so then I suggest that you commit it.
Hide
Jeff Gordon added a comment -

Yes, uses PathInputPanel so the same TargetPanel OS specific default directory names are used.

  • TargetPanel.dir.macosx
  • TargetPanel.dir.mac
  • TargetPanel.dir.windows
  • TargetPanel.dir.unix
  • TargetPanel.dir.xxx,
  • where xxx is the lower case version of System.getProperty("os.name"),
  • with any spaces replace with underscores
  • TargetPanel.dir (generic that will be applied if none of above is found)
Show
Jeff Gordon added a comment - Yes, uses PathInputPanel so the same TargetPanel OS specific default directory names are used.
  • TargetPanel.dir.macosx
  • TargetPanel.dir.mac
  • TargetPanel.dir.windows
  • TargetPanel.dir.unix
  • TargetPanel.dir.xxx,
  • where xxx is the lower case version of System.getProperty("os.name"),
  • with any spaces replace with underscores
  • TargetPanel.dir (generic that will be applied if none of above is found)
Hide
Jeff Gordon added a comment -

Added DefaultTargetPanel, DefaultTargetPanelAutomationHelper, included in build.xml and panels documentation.

Show
Jeff Gordon added a comment - Added DefaultTargetPanel, DefaultTargetPanelAutomationHelper, included in build.xml and panels documentation.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: