History | Log In     View a printable version of the current page.  
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
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().



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Julien Ponge - 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 - 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 - 15/Apr/08 07:53 PM
Added DefaultTargetPanel, DefaultTargetPanelAutomationHelper, included in build.xml and panels documentation.