Glossary: Difference between revisions

From NSIS Wiki
Jump to navigationJump to search
No edit summary
No edit summary
Line 1: Line 1:
:Callback: A function called by the installer at certain points in the install, eg, .onInit is called when the installer is nearly finished initializing
:Callback: A function called by the installer at certain points in the install, eg, .onInit is called when the installer is nearly finished initializing
:Constant: A read-only variable with built-in value.  Dereferenced as a variable, eg, $EXEPATH
 
:Define: A symbol that is predefined or created with !define or /D at the command line. Dereferenced with $ and curly brackets, eg, ${VERSION}
:Constant: A read-only variable with built-in value.  Dereferenced as a variable: $EXEPATH
 
:Define: A symbol that is predefined or created with !define or /D at the command line. Dereferenced with $ and curly brackets: ${VERSION}
 
:Function: A user-created code block called explicitly (user function) or automatically (callback)
:Function: A user-created code block called explicitly (user function) or automatically (callback)
:Installer: An executable compiled from a script
:Page: The <code>Page</code> command names either a <code>Page custom ''pagename''</code> or one of the internal page types, which are <code>license</code>, <code>components</code> (to select), <code>directory</code> (of installation), <code>instfiles</code> (where the sections are executed), <code>uninstConfirm</code>.  These differ in some behaviors (e.g., <code>section</code>s define components for the <code>components</code> page only) and the attributes that effect them.  <code>LicenseText</code>'s setting, if any, is only used on the <code>license</code> page, for example
:Predefine: A built-in define, eg, ${__FILE__}
:Predefine: A built-in define, eg, ${__FILE__}
:Register: A pre-declared variable, one of $0 - $9, $R0 - $R9
:Register: A pre-declared variable, one of $0 - $9, $R0 - $R9
:Script: A (.nsi) text file that defines some global attributes (eg, <code>outfile</code>) and, typically, symbols, then the pages to walk the (un)installing user through.  Functions and at least one section follow.  Also, plug-in DLLs can be called and "header" (.nsh) scripts  <code>!include</code>d
:Section: A code block to allow the installing user to select and install one component via the <code>components</code> page
:Symbol: General term meaning a define or variable.  The taxonomy:
:Symbol: General term meaning a define or variable.  The taxonomy:
::Symbol
::Symbol
Line 14: Line 28:
::::Register
::::Register
::::User variable
::::User variable
:Variable: A constant, register, or user variable
 
:Variable: A globally-scoped constant, register, or user variable

Revision as of 13:32, 8 August 2008

Callback: A function called by the installer at certain points in the install, eg, .onInit is called when the installer is nearly finished initializing
Constant: A read-only variable with built-in value. Dereferenced as a variable: $EXEPATH
Define: A symbol that is predefined or created with !define or /D at the command line. Dereferenced with $ and curly brackets: ${VERSION}
Function: A user-created code block called explicitly (user function) or automatically (callback)
Installer: An executable compiled from a script
Page: The Page command names either a Page custom pagename or one of the internal page types, which are license, components (to select), directory (of installation), instfiles (where the sections are executed), uninstConfirm. These differ in some behaviors (e.g., sections define components for the components page only) and the attributes that effect them. LicenseText's setting, if any, is only used on the license page, for example
Predefine: A built-in define, eg, ${__FILE__}
Register: A pre-declared variable, one of $0 - $9, $R0 - $R9
Script: A (.nsi) text file that defines some global attributes (eg, outfile) and, typically, symbols, then the pages to walk the (un)installing user through. Functions and at least one section follow. Also, plug-in DLLs can be called and "header" (.nsh) scripts !included
Section: A code block to allow the installing user to select and install one component via the components page
Symbol: General term meaning a define or variable. The taxonomy:
Symbol
Define
Predefine
User define
Variable
Constant
Register
User variable
Variable: A globally-scoped constant, register, or user variable