;*1
;; 3.2 Variables
;; 3.2.1 Modifiable Variables Used in Instructions
$INSTDIR
$OUTDIR
$0
$1
$2
$3
$4
$5
$6
$7
$8
$9
$R0
$R1
$R2
$R3
$R4
$R5
$R6
$R7
$R8
$R9
$CMDLINE
$LANGUAGE

;; 3.2.2 Constant Variables Used in Instructions and InstallDir
$$
$NSISDIR
$DESKTOP
$EXEDIR
$HWNDPARENT
$PLUGINSDIR
$PROGRAMFILES
$QUICKLAUNCH
$SMPROGRAMS
$SMSTARTUP
$STARTMENU
$SYSDIR
$TEMP
$WINDIR

;; 3.7.1.7 ChangeUI
IDD_LICENSE
IDD_DIR
IDD_SELCOM
IDD_INST
IDD_INSTFILES
IDD_UNINST
IDD_VERIFY

;; 3.8.1.4 ExecShell
SW_SHOWNORMAL
SW_SHOWMAXIMIZED
SW_SHOWMINIMIZED

;; 3.8.2.15 WriteRegStr
HKCR
HKEY_CLASSES_ROOT
HKLM
HKEY_LOCAL_MACHINE
HKCU
HKEY_CURRENT_USER
HKU
HKEY_USERS
HKCC
HKEY_CURRENT_CONFIG
HKDD
HKEY_DYN_DATA
HKPD
HKEY_PERFORMANCE_DATA

;; 3.8.3.12 SetFileAttributes
NORMAL
FILE_ATTRIBUTE_NORMAL
ARCHIVE
FILE_ATTRIBUTE_ARCHIVE
HIDDEN
FILE_ATTRIBUTE_HIDDEN
OFFLINE
FILE_ATTRIBUTE_OFFLINE
READONLY
FILE_ATTRIBUTE_READONLY
SYSTEM
FILE_ATTRIBUTE_SYSTEM
TEMPORARY
FILE_ATTRIBUTE_TEMPORARY

;; 3.8.4.13 MessageBox
MB_OK
MB_OKCANCEL
MB_ABORTRETRYIGNORE
MB_RETRYCANCEL
MB_YESNO
MB_YESNOCANCEL
MB_ICONEXCLAMATION
MB_ICONINFORMATION
MB_ICONQUESTION
MB_ICONSTOP
MB_TOPMOST
MB_SETFOREGROUND
MB_RIGHT
MB_DEFBUTTON1
MB_DEFBUTTON2
MB_DEFBUTTON3
MB_DEFBUTTON4

IDABORT
IDCANCEL
IDIGNORE
IDNO
IDOK
IDRETRY
IDYES

;; 3.8.14.8 SendMessage
WM_CLOSE
WM_COMMAND
WM_USER

;; 3.5.1.1 Install Callbacks
.onGUIInit
.onInit
.onInstFailed
.onInstSuccess
.onMouseOverSection
.onSelChange
.onUserAbort
.onVerifyInstDir

;; 3.5.1.2 Uninstall Callbacks
un.onGUIInit
un.onInit
un.onUninstFailed
un.onUninstSuccess
un.onUserAbort

;*0
;; 3.6 Pages
Page

;*0
;; 3.7 Installer Attributes
;; 3.7.1 General Attributes
AddBrandingImage
AllowRootDirInstall
AutoCloseWindow
BGGradient
BrandingText
Caption
ChangeUI
CheckBitmap
CompletedText
ComponentText
CRCCheck
DetailsButtonText
DirShow
DirText
FileErrorText
InstallButtonText
InstallColors
InstallDir
InstallDirRegKey
InstProgressFlags
InstType
LicenseBkColor
LicenseData
LicenseText
LoadLanguageFile
MiscButtonText
Name
Icon
OutFile
PluginDir
SetFont
ShowInstDetails
ShowUninstDetails
SilentInstall
SilentUnInstall
SpaceTexts
SubCaption
UninstallButtonText
UninstallCaption
UninstallIcon
UninstallSubCaption
UninstallText
WindowIcon
XPStyle

;; 3.7.2 Compiler Flags
SetCompress
SetCompressor
SetDatablockOptimize
SetDateSave
SetOverwrite
SetPluginUnload

;*0
;; 3.7.3 Sections
AddSize
Section
SectionEnd
SectionIn
SubSection
SubSectionEnd
Function
FunctionEnd

;*2
;; 3.8 Instructions
;; 3.8.1 Basic Instructions
Delete
File
Exec
ExecShell
ExecWait
Rename
RMDir
ReserveFile
SetOutPath

;; 3.8.2 Registry, INI, File Instructions
DeleteINISec
DeleteINIStr
DeleteRegKey
DeleteRegValue
EnumRegKey
EnumRegValue
ExpandEnvStrings
ReadEnvStr
ReadINIStr
ReadRegDWORD
ReadRegStr
WriteINIStr
WriteRegBin
WriteRegDWORD
WriteRegStr

;; 3.8.3 General Purpose Instructions
CallInstDLL
CopyFiles
CreateDirectory
CreateShortCut
GetDLLVersion
GetDLLVersionLocal
GetFileTime
GetFileTimeLocal
GetFullPathName
GetTempFileName
SearchPath
SetFileAttributes
RegDLL
UnRegDLL

;*0
;; 3.8.4 Flow Control Instructions
Abort
Call
ClearErrors
GetCurrentAddress
GetFunctionAddress
GetLabelAddress
Goto
IfErrors
IfFileExists
IfRebootFlag
IntCmp
IntCmpU
MessageBox
Return
Quit
SetErrors
StrCmp

;*2
;; 3.8.5 File Instructions
FileClose
FileOpen
FileRead
FileReadByte
FileSeek
FileWrite
FileWriteByte
FindClose
FindFirst
FindNext

;; 3.8.6 Uninstaller Instructions
WriteUninstaller

;; 3.8.7 Miscellaneous Instructions
InitPluginsDir
SetShellVarContext
Sleep

;; 3.8.8 String Manipulation Instructions
StrCpy
StrLen

;; 3.8.9 Stack Support
Exch
Pop
Push

;; 3.8.10 Integer Support
IntFmt
IntOp

;; 3.8.11 Reboot Instructions
;; 3.8.11.1 Reboot
SetRebootFlag

;; 3.8.12 Install Logging Instructions
LogSet
LogText

;; 3.8.13 Section Management
SectionSetFlags
SectionGetFlags
SectionSetText
SectionGetText

;; 3.8.14 User Interface Instructions
BringToFront
CreateFont
DetailPrint
FindWindow
GetDlgItem
HideWindow
IsWindow
SendMessage
SetAutoClose
SetBrandingImage
SetDetailsView
SetDetailsPrint
SetStaticBkColor
SetWindowLong
ShowWindow


;*2b
;; 4.1 Compiler Utility Commands
!include
!addincludedir
!cd
!echo
!error
!packhdr
!system
!warning
!verbose

;; 4.2 Conditional Compilation
!define
!ifdef
!ifndef
!else
!endif
!insertmacro
!macro
!macroend
!undef


;*1
;; parameters
/a
/e
/r

/COMPONENTSONLYONCUSTOM
/CUSTOMSTRING
/FILESONLY
/ifempty
/IMGID
/ITALIC
/LANG
/NOCUSTOM
/nonfatal
/nonfatal
/NOUNLOAD
/oname
/REBOOTOK
/REBOOTOK
/RESIZETOFIT
/SHORT
/SILENT
/STRIKE
/TIMEOUT
/TRIMCENTER
/TRIMLEFT
/TRIMRIGHT
/UNDERLINE
/windows

all
alwaysoff
botc
both
bzip2
colored
components
current
custom
dialog
directory
false
force
height
hide
ifnewer
instfiles
instfiles
lastused
left
license
listonly
manual
nevershow
none
normal
off
off
off
on
on
show
silent
silentlog
smooth
textonly
top
topc
true
try
uninstConfirm
width
zlib
