Maple Professionel
Maple Académique
Maple Edition Étudiant
Maple Personal Edition
Maple Player
Maple Player for iPad
MapleSim Professionel
MapleSim Académique
Maple T.A. - Suite d'examens de classement
Maple T.A. MAA Placement Test Suite
Möbius - Didacticiels de mathématiques en ligne
Machine Design / Industrial Automation
Aéronautique
Ingénierie des véhicules
Robotics
Energie
System Simulation and Analysis
Model development for HIL
Modélisation du procédé pour la conception de systèmes de contrôle
Robotics/Motion Control/Mechatronics
Other Application Areas
Enseignement des mathématiques
Enseignement de l’ingénierie
Enseignement secondaire et supérieur (CPGE, BTS)
Tests et évaluations
Etudiants
Modélisation financière
Recherche opérationnelle
Calcul haute performance
Physique
Webinaires en direct
Webinaires enregistrés
Agenda des évènements
Forum MaplePrimes
Blog Maplesoft
Membres Maplesoft
Maple Ambassador Program
MapleCloud
Livres blancs techniques
Bulletin électronique
Livres Maple
Math Matters
Portail des applications
Galerie de modèles MapleSim
Cas d'Etudes Utilisateur
Exploring Engineering Fundamentals
Concepts d’enseignement avec Maple
Centre d’accueil utilisateur Maplesoft
Centre de ressources pour enseignants
Centre d’assistance aux étudiants
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