Overview of the ToolboxInstaller:-Data Package
ToolboxInstaller:-Data:-Get(option1, option2, ...)
ToolboxInstaller:-Data:-Set(option1 = value1, option2 = value2, ...)
option1, option2, ...
string; option names, see table below
value1, value2, ...
anything; option value, see table below
For many of the panel-specific options described in InstallerBuilder Options, you can provide Maple procedures. These procedures run during installation to complete specified tasks, and their results can control the installation.
These procedures need access to data that is in the installer, supplied by a user earlier in the installation process, or supplied by another customized procedure. The ToolboxInstaller:-Data package allows you to save and access this data.
The ToolboxInstaller:-Data:-Set command accepts any number of arguments of the form optionN = valueN, where optionN is a string and valueN can be any Maple object. The Set command assigns the value valueN to the string optionN.
The ToolboxInstaller:-Data:-Get command accepts any number of arguments of the form optionN, where optionN is a string, and returns the stored value.
You can use Set and Get to create and query custom references, or you can query data automatically set by the installer. The built-in installer data is as follows.
Height of each panel, in pixels
Path to directory in which temporary installation files are stored.
Absolute path to installer file
If true, indicates that user has selected a network installation; if false, a single-user installation.
If true, indicates that user has selected a system installation (in the Maple install directory); if false, a personal installation (in the user's home directory).
Directory in which toolbox will reside
Name of toolbox
Parent directory of toolbox_dir
User input from the Validation panel
Width of each panel, in pixels
Note: It is not recommended that you use the Set command to overwrite built-in data.
Download Help Document