Maple für Professional
Maple für Akademiker
Maple für Studenten
Maple Personal Edition
Maple Player
Maple Player für iPad
MapleSim für Professional
MapleSim für Akademiker
Maple T.A. - Testen & beurteilen
Maple T.A. MAA Placement Test Suite
Möbius - Online-Courseware
Machine Design / Industrial Automation
Luft- und Raumfahrt
Fahrzeugtechnik
Robotics
Energiebranche
System Simulation and Analysis
Model development for HIL
Anlagenmodelle für den Regelungsentwurf
Robotics/Motion Control/Mechatronics
Other Application Areas
Mathematikausbildung
Technik
Allgemein- und berufsbildende Schulen
Testen und beurteilen
Studierende
Finanzmodelle
Betriebsforschung
Hochleistungsrechnen
Physik
Live-Webinare
Aufgezeichnete Webinare
Geplante Veranstaltungen
MaplePrimes
Maplesoft-Blog
Maplesoft-Mitgliedschaft
Maple Ambassador Program
MapleCloud
Technische Whitepapers
E-Mail Newsletters
Maple-Bücher
Math Matters
Anwendungs-Center
MapleSim Modell-Galerie
Anwenderberichte
Exploring Engineering Fundamentals
Lehrkonzepte mit Maple
Maplesoft Welcome-Center
Resource-Center für Lehrer
Help-Center für Studierende
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