Reference/PageEx: Difference between revisions

From NSIS Wiki
Jump to navigationJump to search
(Created page with "=PageEx= '''[un.](custom|uninstConfirm|license|components|directory|instfiles)''' Adds an installer page or an uninstaller page if the un. prefix was used. Every PageEx must ha...")
 
mNo edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
=PageEx=
=PageEx=


'''[un.](custom|uninstConfirm|license|components|directory|instfiles)'''
[un.](custom|uninstConfirm|license|components|directory|instfiles)


Adds an installer page or an uninstaller page if the un. prefix was used. Every PageEx must have a matching PageExEnd. In a PageEx block you can set options that are specific to this page and will not be used for other pages. Options that are not set will revert to what was set outside the PageEx block or the default if nothing was set. To set the sub-caption for a page use Caption or SubCaption to set the default. To set the callback functions for a page set with PageEx use PageCallbacks. See the above sections for more information about built-in versus custom pages.
Adds an installer page or an uninstaller page if the un. prefix was used. Every PageEx must have a matching [[Reference/PageExEnd|PageExEnd]]. In a PageEx block you can set options that are specific to this page and will not be used for other pages. Options that are not set will revert to what was set outside the PageEx block or the default if nothing was set. To set the sub-caption for a page use [[Reference/Caption|Caption]] or [[Reference/SubCaption|SubCaption]] to set the default. To set the callback functions for a page set with PageEx use [[Reference/PageCallbacks|PageCallbacks]]. See the above sections for more information about built-in versus custom pages.


Example usage:
Example usage:
Line 16: Line 16:
   LicenseForceSelection checkbox
   LicenseForceSelection checkbox
  PageExEnd</highlight-nsis>
  PageExEnd</highlight-nsis>
''Command introduced with NSIS v2.0''

Latest revision as of 11:22, 3 June 2013

PageEx

[un.](custom|uninstConfirm|license|components|directory|instfiles)

Adds an installer page or an uninstaller page if the un. prefix was used. Every PageEx must have a matching PageExEnd. In a PageEx block you can set options that are specific to this page and will not be used for other pages. Options that are not set will revert to what was set outside the PageEx block or the default if nothing was set. To set the sub-caption for a page use Caption or SubCaption to set the default. To set the callback functions for a page set with PageEx use PageCallbacks. See the above sections for more information about built-in versus custom pages.

Example usage:

 PageEx license
   LicenseText "Readme"
   LicenseData readme.rtf
 PageExEnd
 
 PageEx license
   LicenseData license.txt
   LicenseForceSelection checkbox
 PageExEnd

Command introduced with NSIS v2.0