Issue Details (XML | Word | Printable)

Key: IZPACK-64
Type: New Feature New Feature
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Jeff Gordon
Reporter: Jeff Gordon
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
IzPack

Mandatory Default Installation Directory

Created: 15/Apr/08 02:44 PM   Updated: 19/Apr/08 03:00 PM   Resolved: 15/Apr/08 07:53 PM
Return to search
Component/s: Panels
Affects Version/s: 3.11.0
Fix Version/s: 4.0.0

Time Tracking:
Not Specified


 Description  « Hide

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().



Julien Ponge added a comment - 15/Apr/08 05:49 PM

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

If so then I suggest that you commit it.


Jeff Gordon added a comment - 15/Apr/08 07:29 PM

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)

Jeff Gordon added a comment - 15/Apr/08 07:53 PM

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


Jeff Gordon made changes - 15/Apr/08 07:53 PM
Field Original Value New Value
Resolution Fixed [ 1 ]
Fix Version/s 4.0.0 [ 14071 ]
Status Open [ 1 ] Resolved [ 5 ]
Julien Ponge made changes - 19/Apr/08 03:00 PM
Status Resolved [ 5 ] Closed [ 6 ]