/
nsis.uew
executable file
·161 lines (161 loc) · 6.67 KB
/
nsis.uew
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
/L15"NSIS Script" Nocase String Chars = '" Line Comment = ; Line Comment Alt = # Block Comment On = /* Block Comment Off = */ File Extensions = NSI NSH
/Delimiters = ~@%^&*()-+=|\[]:;"'<> , ?
/Function String 1 = "%[ ^t]++^(Function[ ^t]+*^)^p"
/Function String 2 = "%[ ^t]++^(PageEx[ ^t]+*^)^p"
/Function String 3 = "%[ ^t]++^(Section[ ^t]+*^)^p"
/Function String 4 = "%[ ^t]++^(SectionGroup[ ^t]+*^)^p"
/Open Brace Strings = "{" "(" "["
/Close Brace Strings = "}" ")" "]"
/Open Comment Fold Strings = "/*"
/Close Comment Fold Strings = "*/"
/Indent Strings = "Function" "PageEx" "Section" "SectionGroup"
/Unindent Strings = "FunctionEnd" "PageExEnd" "SectionEnd" "SectionGroupEnd"
/Open Fold Strings = "Function" "PageEx" "Section" "SectionGroup"
/Close Fold Strings = "FunctionEnd" "PageExEnd" "SectionEnd" "SectionGroupEnd"
/C1"Keywords"
AddSize
Function FunctionEnd
Page PageCallbacks PageEx PageExEnd
Section SectionEnd SectionGroup SectionGroupEnd SectionIn
UninstPage
Var
/C2"Instructions & Callbacks"
.onGUIEnd .onGUIInit .onInit .onInstFailed .onInstSuccess .onMouseOverSection .onRebootFailed .onSelChange .onUserAbort .onVerifyInstDir
Abort
BringToFront
Call CallInstDLL ClearErrors CopyFiles CreateDirectory CreateFont CreateShortCut
Delete DeleteINISec DeleteINIStr DeleteRegKey DeleteRegValue DetailPrint
EnableWindow EnumRegKey EnumRegValue Exch Exec ExecShell ExecShellWait ExecWait ExpandEnvStrings
File FileClose FileOpen FileRead FileReadByte FileReadUTF16LE FileReadWord FileSeek FileWrite FileWriteByte FileWriteUTF16LE FileWriteWord FindClose FindFirst FindNext FindWindow FlushINI
GetCurInstType GetCurrentAddress GetDLLVersion GetDLLVersionLocal GetDlgItem GetErrorLevel GetFileTime GetFileTimeLocal
GetFullPathName GetFunctionAddress GetInstDirError GetLabelAddress GetTempFileName Goto
HideWindow
IfAbort IfErrors IfFileExists IfRebootFlag IfSilent InitPluginsDir InstTypeGetText InstTypeSetText IntCmp IntCmpU IntFmt IntOp IsWindow
LangString LicenseLangString LoadLanguageFile LockWindow LogSet LogText
MessageBox
Nop
Pop Push
Quit
RMDir ReadEnvStr ReadINIStr ReadRegDWORD ReadRegStr Reboot RegDLL Rename ReserveFile Return
SearchPath SectionGetFlags SectionGetInstTypes SectionGetSize SectionGetText SectionSetFlags SectionSetInstTypes SectionSetSize
SectionSetText SendMessage SetAutoClose SetBrandingImage SetCtlColors SetCurInstType SetDetailsPrint SetDetailsView SetErrorLevel
SetErrors SetFileAttributes SetOutPath SetRebootFlag SetRegView SetShellVarContext SetSilent ShowWindow Sleep StrCmp StrCmpS StrCpy StrLen
un.onGUIEnd un.onGUIInit un.onInit un.onRebootFailed un.onSelChange un.onUninstFailed un.onUninstSuccess un.onUserAbort
UnRegDLL UnsafeStrCpy
WriteINIStr WriteRegBin WriteRegDWORD WriteRegExpandStr WriteRegMultiStr WriteRegNone WriteRegStr WriteUninstaller
/C3"Constants & Variables"
** $
${__Counter__} ${__Date__} ${__File__} ${__FileDir__} ${__Function__} ${__Global__} ${__Line__} ${__Macro__} ${__PageEx__} ${__Section__} ${__TimeStamp__} ${__Time__} ${__Uninstall__} ${NSISDir} ${NSIS_Char_Size} ${NSIS_Ptr_Size} ${NSIS_Version} ${NSIS_PackedVersion}
$0 $1 $2 $3 $4 $5 $6 $7 $8 $9
$AdminTools $AppData
$CDBurn_Area $CMDLine $CommonFiles $CommonFiles32 $CommonFiles64 $Cookies
$Desktop $Documents
$ExeDir $ExeFile $ExePath
$Favorites $Fonts
$History $HwndParent
$InstDir $Internet_Cache
$Language $LocalAppData
$Music
$Nethood
$OutDir
$Pictures $PluginsDir $PrintHood $Profile $ProgramFiles $ProgramFiles32 $ProgramFiles64
$QuickLaunch
$R0 $R1 $R2 $R3 $R4 $R5 $R6 $R7 $R8 $R9 $Recent $Resources $Resources_Localized
$SendTo $SMPrograms $SMStartup $StartMenu $SysDir
$Temp $Templates
$Videos
$WinDir
/C4"Operators"
! !=
%
& &&
*
+
-
// /
< <<
<= <>
= ==
> >= >>
^
| ||
~
/C5"Elements"
Admin All Archive Auto
Both Bottom Bzip2
Checkbox Components Cur Current Custom
Default Directory Disable
Enable End
False File_Attribute_Archive File_Attribute_Hidden File_Attribute_Normal File_Attribute_OffLine File_Attribute_ReadOnly File_Attribute_System File_Attribute_Temporary Force
Hidden Hide Highest HKCC HKCR HKCR32 HKCR64 HKCU HKCU32 HKCU64 HKDD HKey_Classes_Root HKey_Current_Config HKey_Current_User HKey_DYN_Data HKey_Local_Machine HKey_Performance_Data HKey_Users HKLM HKLM32 HKLM64 HKPD HKU
IdAbort IdCancel IdIgnore IdNo IdOk IdRetry IdYes Idd_Dir Idd_Inst Idd_InstFiles Idd_License Idd_SelCom Idd_Uninst Idd_Verify IfDiff IfNewer InstFiles
LastUsed Leave Left License ListOnly LZMA
MB_AbortRetryIgnore MB_DefButton1 MB_DefButton2 MB_DefButton3 MB_DefButton4 MB_IconExclamation MB_IconInformation MB_IconQuestion MB_IconStop MB_Ok MB_OkCancel
MB_RetryCancel MB_Right MB_RtlReading MB_SetForeground MB_TopMost MB_UserIcon MB_YesNo MB_YesNoCancel
NeverShow NoText None Normal NotSet
Off OffLine On
Pop Push
RadioButtons ReadOnly Right
Set ShCtx Shell_Context Show Silent SilentLog SW_Hide SW_ShowDefault SW_ShowMaximized SW_ShowMinimized SW_ShowNormal SysClr System
Temporary TextColor TextOnly Top Transparent True Try
UninstConfirm User un.Components un.Custom un.Directory un.InstFiles un.License un.UninstConfirm
Warning Win10 Win7 Win8 Win8.1 WinVista
Zlib
/C6"Preprocessor & Switches"
// /A
// /BOM /Branding
// /Charset /ComponentsOnlyOnCustom /CustomString
// /Date
// /E /EnableCancel
// /File /FilesOnly /Final
// /Global /Gray
// /IfEmpty /IfNDef /IgnoreCase /ImgId /InvokeIdList /Italic
// /Lang
// /Math
// /NoCustom /NoErrors /NoWorkingDir /NonFatal
// /O /oName
// /Plugin
// /R /RawNL /RebootOK /Redef /RegEdit5 /ResizeToFit
// /SD /Short /Silent /Solid /Strike
// /TimeOut /TrimCenter /TrimLeft /TrimRight
// /Underline /UTCDate
// /Windows
// /X /x86-ANSI /x86-Unicode
!AddIncludeDir !AddPluginDir !AppendFile
!CD
!Define !DelFile
!Echo !Else !EndIf !Error !Execute
!Finalize
!GetDLLVersion
!If !IfDef !IfMacroDef !IfMacroNDef !IfNDef !Include !InsertMacro
!Macro !MacroEnd !MacroUndef !MakeNSIS
!PackHdr !Pragma
!SearchParse !SearchReplace !System
!Tempfile
!Undef
!Verbose
!Warning
/C7"Installer Attributes"
AddBrandingImage AllowSkipFiles AllowRootDirInstall AutoCloseWindow
BGFont BGGradient BrandingText
CRCCheck Caption ChangeUI CheckBitmap CompletedText ComponentText
DetailsButtonText DirText DirVar DirVerify
FileBufSize FileErrorText
Icon InstProgressFlags InstType InstallButtonText InstallColors InstallDir InstallDirRegKey
LicenseBkColor LicenseData LicenseForceSelection LicenseText
ManifestDPIAware ManifestSupportedOS MiscButtonText
Name
OutFile
RequestExecutionLevel
SetCompress SetCompressor SetCompressorDictSize SetDatablockOptimize SetDateSave SetFont SetOverWrite
ShowInstDetails ShowUninstDetails SilentInstall SilentUnInstall SpaceTexts SubCaption
Unicode UninstallButtonText UninstallCaption UninstallIcon UninstallSubCaption UninstallText
VIAddVersionKey VIFileVersion VIProductVersion
WindowIcon
XPStyle
/C8"Separator"
(
)
,
[
]