Maple Professional
Maple Academic
Maple Student Edition
Maple Personal Edition
Maple Player
Maple Player for iPad
MapleSim Professional
MapleSim Academic
Maple T.A. - Testing & Assessment
Maple T.A. MAA Placement Test Suite
Möbius - Online Courseware
Machine Design / Industrial Automation
Aerospace
Vehicle Engineering
Robotics
Power Industries
System Simulation and Analysis
Model development for HIL
Plant Modeling for Control Design
Robotics/Motion Control/Mechatronics
Other Application Areas
Mathematics Education
Engineering Education
High Schools & Two-Year Colleges
Testing & Assessment
Students
Financial Modeling
Operations Research
High Performance Computing
Physics
Live Webinars
Recorded Webinars
Upcoming Events
MaplePrimes
Maplesoft Blog
Maplesoft Membership
Maple Ambassador Program
MapleCloud
Technical Whitepapers
E-Mail Newsletters
Maple Books
Math Matters
Application Center
MapleSim Model Gallery
User Case Studies
Exploring Engineering Fundamentals
Teaching Concepts with Maple
Maplesoft Welcome Center
Teacher Resource Center
Student Help Center
Overview of the ToolboxInstaller[Data] Package
Calling Sequence
ToolboxInstaller[Data][Get](option1, option2, ...)
ToolboxInstaller[Data][Set](option1 = value1, option2 = value2, ...)
Parameters
option1, option2, ...
-
string; option names, see table below
value1, value2, ...
anything; option value, see table below
Description
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.
Datum
Type
height
nonnegint
Height of each panel, in pixels
install_temp
string
Path to directory in which temporary installation files are stored.
installer_path
Absolute path to installer file
network_installation
truefalse
If true, indicates that user has selected a network installation; if false, a single-user installation.
system_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).
toolbox_dir
Directory in which toolbox will reside
toolbox_name
Name of toolbox
toolbox_parentdir
Parent directory of toolbox_dir
validation_attempt
User input from the Validation panel
width
Width of each panel, in pixels
Note: It is not recommended that you use the Set command to overwrite built-in data.
See Also
InstallerBuilder Options, InstallerBuilder Panels
Download Help Document