scons 1.2.0 - Options -> Variables
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5882 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
6ade56370b
commit
59501c0174
2 changed files with 64 additions and 64 deletions
|
@ -2,7 +2,7 @@ Import('defenv')
|
|||
|
||||
### Configuration options
|
||||
|
||||
cfg = Options()
|
||||
cfg = Variables()
|
||||
|
||||
cfg.Add(
|
||||
(
|
||||
|
@ -37,7 +37,7 @@ cfg.Add(
|
|||
)
|
||||
|
||||
cfg.Add(
|
||||
BoolOption(
|
||||
BoolVariable(
|
||||
'NSIS_CONFIG_UNINSTALL_SUPPORT',
|
||||
"enables the uninstaller support. Turn it off if your installers don't need uninstallers. Adds less than 1kb.",
|
||||
'yes'
|
||||
|
@ -45,7 +45,7 @@ cfg.Add(
|
|||
)
|
||||
|
||||
cfg.Add(
|
||||
BoolOption(
|
||||
BoolVariable(
|
||||
'NSIS_CONFIG_LICENSEPAGE',
|
||||
'enables support for the installer to present a license page.',
|
||||
'yes'
|
||||
|
@ -53,7 +53,7 @@ cfg.Add(
|
|||
)
|
||||
|
||||
cfg.Add(
|
||||
BoolOption(
|
||||
BoolVariable(
|
||||
'NSIS_CONFIG_COMPONENTPAGE',
|
||||
'enables support for the installer to present a page where you can select what sections are installed. with this disabled, all sections are installed by default',
|
||||
'yes'
|
||||
|
@ -61,7 +61,7 @@ cfg.Add(
|
|||
)
|
||||
|
||||
cfg.Add(
|
||||
BoolOption(
|
||||
BoolVariable(
|
||||
'NSIS_CONFIG_COMPONENTPAGE_ALTERNATIVE',
|
||||
'enables an alternative components page behavior. Checkboxes will only be toggled when clicking on the checkbox itself and not on its label. .onMouseOverSection will only be called when the user selects the component and not when moving the mouse pointer over it.',
|
||||
'no'
|
||||
|
@ -69,7 +69,7 @@ cfg.Add(
|
|||
)
|
||||
|
||||
cfg.Add(
|
||||
BoolOption(
|
||||
BoolVariable(
|
||||
'NSIS_CONFIG_SILENT_SUPPORT',
|
||||
'enables support for making installers that are completely silent.',
|
||||
'yes'
|
||||
|
@ -77,7 +77,7 @@ cfg.Add(
|
|||
)
|
||||
|
||||
cfg.Add(
|
||||
BoolOption(
|
||||
BoolVariable(
|
||||
'NSIS_CONFIG_VISIBLE_SUPPORT',
|
||||
'enables support for making installers that are visible.',
|
||||
'yes'
|
||||
|
@ -85,7 +85,7 @@ cfg.Add(
|
|||
)
|
||||
|
||||
cfg.Add(
|
||||
BoolOption(
|
||||
BoolVariable(
|
||||
'NSIS_CONFIG_ENHANCEDUI_SUPPORT',
|
||||
'enables support for CreateFont, SetCtlColors (used by some UIs), SetBrandingImage, .onGUIInit, etc.',
|
||||
'yes'
|
||||
|
@ -93,7 +93,7 @@ cfg.Add(
|
|||
)
|
||||
|
||||
cfg.Add(
|
||||
BoolOption(
|
||||
BoolVariable(
|
||||
'NSIS_CONFIG_COMPRESSION_SUPPORT',
|
||||
'enables support for making installers that use compression (recommended).',
|
||||
'yes'
|
||||
|
@ -101,7 +101,7 @@ cfg.Add(
|
|||
)
|
||||
|
||||
cfg.Add(
|
||||
BoolOption(
|
||||
BoolVariable(
|
||||
'NSIS_COMPRESS_BZIP2_SMALLMODE',
|
||||
"if defined, bzip2's decompressor uses bzip2's alternative decompression method that uses less runtime memory, at the expense of speed (and executable size). not recommended.",
|
||||
'no'
|
||||
|
@ -118,7 +118,7 @@ cfg.Add(
|
|||
|
||||
|
||||
cfg.Add(
|
||||
BoolOption(
|
||||
BoolVariable(
|
||||
'NSIS_CONFIG_CRC_SUPPORT',
|
||||
'enables support for installer verification. HIGHLY recommended.',
|
||||
'yes'
|
||||
|
@ -126,7 +126,7 @@ cfg.Add(
|
|||
)
|
||||
|
||||
cfg.Add(
|
||||
BoolOption(
|
||||
BoolVariable(
|
||||
'NSIS_CONFIG_CRC_ANAL',
|
||||
'makes the CRC verification extremely careful, meaning extra bytes on the end of file, or the first 512 bytes changing, will give error. Enable this if you are paranoid, otherwise leaving it off seems safe (and is less prone to reporting virii). If you will be digitally signing your installers, leave this off.',
|
||||
'no'
|
||||
|
@ -134,7 +134,7 @@ cfg.Add(
|
|||
)
|
||||
|
||||
cfg.Add(
|
||||
BoolOption(
|
||||
BoolVariable(
|
||||
'NSIS_CONFIG_LOG',
|
||||
'enables the logging facility. turning this on (by uncommenting it) adds about 4kb, but can be useful in debugging your installers.',
|
||||
'no'
|
||||
|
@ -142,7 +142,7 @@ cfg.Add(
|
|||
)
|
||||
|
||||
cfg.Add(
|
||||
BoolOption(
|
||||
BoolVariable(
|
||||
'NSIS_CONFIG_LOG_ODS',
|
||||
'makes the logging facility use OutputDebugString instead of a file.',
|
||||
'no'
|
||||
|
@ -150,7 +150,7 @@ cfg.Add(
|
|||
)
|
||||
|
||||
cfg.Add(
|
||||
BoolOption(
|
||||
BoolVariable(
|
||||
'NSIS_CONFIG_LOG_STDOUT',
|
||||
'makes the logging facility use stdout instead of a file.',
|
||||
'no'
|
||||
|
@ -158,7 +158,7 @@ cfg.Add(
|
|||
)
|
||||
|
||||
cfg.Add(
|
||||
BoolOption(
|
||||
BoolVariable(
|
||||
'NSIS_CONFIG_LOG_TIMESTAMP',
|
||||
'adds a timestamp to each log line.',
|
||||
'no'
|
||||
|
@ -166,7 +166,7 @@ cfg.Add(
|
|||
)
|
||||
|
||||
cfg.Add(
|
||||
BoolOption(
|
||||
BoolVariable(
|
||||
'NSIS_SUPPORT_BGBG',
|
||||
'enables support for the blue (well, whatever color you want) gradient background window.',
|
||||
'yes'
|
||||
|
@ -174,7 +174,7 @@ cfg.Add(
|
|||
)
|
||||
|
||||
cfg.Add(
|
||||
BoolOption(
|
||||
BoolVariable(
|
||||
'NSIS_SUPPORT_CODECALLBACKS',
|
||||
'enables support for installer code callbacks. recommended, as it uses a minimum of space and allows for neat functionality.',
|
||||
'yes'
|
||||
|
@ -182,7 +182,7 @@ cfg.Add(
|
|||
)
|
||||
|
||||
cfg.Add(
|
||||
BoolOption(
|
||||
BoolVariable(
|
||||
'NSIS_SUPPORT_MOVEONREBOOT',
|
||||
'enables support for uninstallers that automatically delete themselves from the temp directory, as well as the reboot moving/deleting modes of Delete and Rename. Adds about 512 gay bytes..',
|
||||
'yes'
|
||||
|
@ -192,7 +192,7 @@ cfg.Add(
|
|||
### Instruction enabling configuration
|
||||
|
||||
cfg.Add(
|
||||
BoolOption(
|
||||
BoolVariable(
|
||||
'NSIS_SUPPORT_ACTIVEXREG',
|
||||
'enables activeX plug-in registration and deregistration, as well as CallInstDLL',
|
||||
'yes'
|
||||
|
@ -200,7 +200,7 @@ cfg.Add(
|
|||
)
|
||||
|
||||
cfg.Add(
|
||||
BoolOption(
|
||||
BoolVariable(
|
||||
'NSIS_SUPPORT_INTOPTS',
|
||||
'enables support for IntCmp, IntCmpU, IntOp, and IntFmt.',
|
||||
'yes'
|
||||
|
@ -208,7 +208,7 @@ cfg.Add(
|
|||
)
|
||||
|
||||
cfg.Add(
|
||||
BoolOption(
|
||||
BoolVariable(
|
||||
'NSIS_SUPPORT_STROPTS',
|
||||
'enables support for StrCmp, StrCpy, and StrLen, as well as Get*Local.',
|
||||
'yes'
|
||||
|
@ -216,7 +216,7 @@ cfg.Add(
|
|||
)
|
||||
|
||||
cfg.Add(
|
||||
BoolOption(
|
||||
BoolVariable(
|
||||
'NSIS_SUPPORT_STACK',
|
||||
'enables support for the stack (Push, Pop, Exch)',
|
||||
'yes'
|
||||
|
@ -224,7 +224,7 @@ cfg.Add(
|
|||
)
|
||||
|
||||
cfg.Add(
|
||||
BoolOption(
|
||||
BoolVariable(
|
||||
'NSIS_SUPPORT_FILEFUNCTIONS',
|
||||
'enables support for FileOpen,FileClose, FileSeek, FileRead, and FileWrite.',
|
||||
'yes'
|
||||
|
@ -232,7 +232,7 @@ cfg.Add(
|
|||
)
|
||||
|
||||
cfg.Add(
|
||||
BoolOption(
|
||||
BoolVariable(
|
||||
'NSIS_SUPPORT_FINDFIRST',
|
||||
'enables support for FindFirst, FindNext, and FindClose.',
|
||||
'yes'
|
||||
|
@ -240,7 +240,7 @@ cfg.Add(
|
|||
)
|
||||
|
||||
cfg.Add(
|
||||
BoolOption(
|
||||
BoolVariable(
|
||||
'NSIS_SUPPORT_CREATESHORTCUT',
|
||||
'enables support for CreateShortCut.',
|
||||
'yes'
|
||||
|
@ -248,7 +248,7 @@ cfg.Add(
|
|||
)
|
||||
|
||||
cfg.Add(
|
||||
BoolOption(
|
||||
BoolVariable(
|
||||
'NSIS_SUPPORT_INIFILES',
|
||||
'enables support for ReadINIStr and WriteINIStr.',
|
||||
'yes'
|
||||
|
@ -256,7 +256,7 @@ cfg.Add(
|
|||
)
|
||||
|
||||
cfg.Add(
|
||||
BoolOption(
|
||||
BoolVariable(
|
||||
'NSIS_SUPPORT_REGISTRYFUNCTIONS',
|
||||
'enables support for ReadRegStr, ReadRegDWORD, WriteRegStr, etc etc etc.',
|
||||
'yes'
|
||||
|
@ -264,7 +264,7 @@ cfg.Add(
|
|||
)
|
||||
|
||||
cfg.Add(
|
||||
BoolOption(
|
||||
BoolVariable(
|
||||
'NSIS_SUPPORT_COPYFILES',
|
||||
'enables support for CopyFiles',
|
||||
'yes'
|
||||
|
@ -272,7 +272,7 @@ cfg.Add(
|
|||
)
|
||||
|
||||
cfg.Add(
|
||||
BoolOption(
|
||||
BoolVariable(
|
||||
'NSIS_SUPPORT_REBOOT',
|
||||
'enables support for Reboot, IfRebootFlag, SetRebootFlag',
|
||||
'yes'
|
||||
|
@ -280,7 +280,7 @@ cfg.Add(
|
|||
)
|
||||
|
||||
cfg.Add(
|
||||
BoolOption(
|
||||
BoolVariable(
|
||||
'NSIS_SUPPORT_FNUTIL',
|
||||
'enables support for GetFullPathName, GetTempFileName, and SearchPath',
|
||||
'yes'
|
||||
|
@ -288,7 +288,7 @@ cfg.Add(
|
|||
)
|
||||
|
||||
cfg.Add(
|
||||
BoolOption(
|
||||
BoolVariable(
|
||||
'NSIS_SUPPORT_EXECUTE',
|
||||
'enables support for Exec and ExecWait',
|
||||
'yes'
|
||||
|
@ -296,7 +296,7 @@ cfg.Add(
|
|||
)
|
||||
|
||||
cfg.Add(
|
||||
BoolOption(
|
||||
BoolVariable(
|
||||
'NSIS_SUPPORT_SHELLEXECUTE',
|
||||
'enables support for ExecShell',
|
||||
'yes'
|
||||
|
@ -304,7 +304,7 @@ cfg.Add(
|
|||
)
|
||||
|
||||
cfg.Add(
|
||||
BoolOption(
|
||||
BoolVariable(
|
||||
'NSIS_SUPPORT_GETDLLVERSION',
|
||||
'enables support for GetDLLVersion',
|
||||
'yes'
|
||||
|
@ -312,7 +312,7 @@ cfg.Add(
|
|||
)
|
||||
|
||||
cfg.Add(
|
||||
BoolOption(
|
||||
BoolVariable(
|
||||
'NSIS_SUPPORT_GETFILETIME',
|
||||
'enables support for GetFileTime',
|
||||
'yes'
|
||||
|
@ -320,7 +320,7 @@ cfg.Add(
|
|||
)
|
||||
|
||||
cfg.Add(
|
||||
BoolOption(
|
||||
BoolVariable(
|
||||
'NSIS_SUPPORT_HWNDS',
|
||||
'enables support for FindWindow, SendMessage, and IsWindow',
|
||||
'yes'
|
||||
|
@ -328,7 +328,7 @@ cfg.Add(
|
|||
)
|
||||
|
||||
cfg.Add(
|
||||
BoolOption(
|
||||
BoolVariable(
|
||||
'NSIS_SUPPORT_ENVIRONMENT',
|
||||
'enables support for ReadEnvStr and ExpandEnvStrings',
|
||||
'yes'
|
||||
|
@ -336,7 +336,7 @@ cfg.Add(
|
|||
)
|
||||
|
||||
cfg.Add(
|
||||
BoolOption(
|
||||
BoolVariable(
|
||||
'NSIS_SUPPORT_RMDIR',
|
||||
'enables support for RMDir',
|
||||
'yes'
|
||||
|
@ -344,7 +344,7 @@ cfg.Add(
|
|||
)
|
||||
|
||||
cfg.Add(
|
||||
BoolOption(
|
||||
BoolVariable(
|
||||
'NSIS_SUPPORT_FILE',
|
||||
'enables support for File (extracting files)',
|
||||
'yes'
|
||||
|
@ -352,7 +352,7 @@ cfg.Add(
|
|||
)
|
||||
|
||||
cfg.Add(
|
||||
BoolOption(
|
||||
BoolVariable(
|
||||
'NSIS_SUPPORT_DELETE',
|
||||
'enables support for Delete (delete files)',
|
||||
'yes'
|
||||
|
@ -360,7 +360,7 @@ cfg.Add(
|
|||
)
|
||||
|
||||
cfg.Add(
|
||||
BoolOption(
|
||||
BoolVariable(
|
||||
'NSIS_SUPPORT_RENAME',
|
||||
'enables support for Rename (rename files)',
|
||||
'yes'
|
||||
|
@ -368,7 +368,7 @@ cfg.Add(
|
|||
)
|
||||
|
||||
cfg.Add(
|
||||
BoolOption(
|
||||
BoolVariable(
|
||||
'NSIS_SUPPORT_MESSAGEBOX',
|
||||
'enables support for MessageBox',
|
||||
'yes'
|
||||
|
@ -376,7 +376,7 @@ cfg.Add(
|
|||
)
|
||||
|
||||
cfg.Add(
|
||||
BoolOption(
|
||||
BoolVariable(
|
||||
'NSIS_SUPPORT_VERSION_INFO',
|
||||
'enables support for version information in the installer',
|
||||
'yes'
|
||||
|
@ -384,7 +384,7 @@ cfg.Add(
|
|||
)
|
||||
|
||||
cfg.Add(
|
||||
BoolOption(
|
||||
BoolVariable(
|
||||
'NSIS_FIX_DEFINES_IN_STRINGS',
|
||||
'fixes defines inside defines and handles chars $ perfectly',
|
||||
'no'
|
||||
|
@ -392,7 +392,7 @@ cfg.Add(
|
|||
)
|
||||
|
||||
cfg.Add(
|
||||
BoolOption(
|
||||
BoolVariable(
|
||||
'NSIS_SUPPORT_STANDARD_PREDEFINES',
|
||||
'enables standard predefines - __FILE__, __LINE__, __DATE__, __TIME__ and __TIMESTAMP__',
|
||||
'yes'
|
||||
|
@ -400,7 +400,7 @@ cfg.Add(
|
|||
)
|
||||
|
||||
cfg.Add(
|
||||
BoolOption(
|
||||
BoolVariable(
|
||||
'NSIS_LOCKWINDOW_SUPPORT',
|
||||
'enables the LockWindow command',
|
||||
'yes'
|
||||
|
@ -408,7 +408,7 @@ cfg.Add(
|
|||
)
|
||||
|
||||
cfg.Add(
|
||||
BoolOption(
|
||||
BoolVariable(
|
||||
'NSIS_CONFIG_PLUGIN_SUPPORT',
|
||||
'enables installer plug-ins support',
|
||||
'yes'
|
||||
|
@ -416,7 +416,7 @@ cfg.Add(
|
|||
)
|
||||
|
||||
cfg.Add(
|
||||
BoolOption(
|
||||
BoolVariable(
|
||||
'NSIS_FIX_COMMENT_HANDLING',
|
||||
'fixes comment handling',
|
||||
'yes'
|
||||
|
@ -424,7 +424,7 @@ cfg.Add(
|
|||
)
|
||||
|
||||
cfg.Add(
|
||||
BoolOption(
|
||||
BoolVariable(
|
||||
'NSIS_CONFIG_CONST_DATA_PATH',
|
||||
'determines if plugins, includes, stubs etc. are located in a constant path set at build-time',
|
||||
defenv['PLATFORM'] != 'win32'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue