Developers' side bar Selected categories Edit Links |
Devel /
NSISScriptingReference
<< | Page list | >>
Links to help/description of the NSIS instructions used in the LyX Windows installers.
Unclassified statementsThe following are statements found in J's and U's code that I so far haven't located any documentation for: System::CallExample: System::Call "kernel32::GetUserDefaultUILanguage()i.R0"
UserInfo::GetAccountTypeExample: UserInfo::GetAccountType
UserInfo::GetName - - U onlyExample: UserInfo::GetName
Banner::destroy - - J onlyExample: Banner::destroy
Banner::show - - J onlyExample: Banner::show /NOUNLOAD "Preparing wizard"
FindProcDLL:FindProc - - U onlyExample: FindProcDLL::FindProc "${INSTALLER2_EXE}"
InetLoad::load -Example: InetLoad::load "${DOWNLOAD_${COMPONENT}}" "$PLUGINSDIR\${COMPONENT}Setup.exe" /END
nsExec::Exec - - J onlyExample: nsExec::Exec '"$PathLaTeX\initexmf.exe" --update-fndb'
nsExec::ExecToStack - - J onlyExample: nsExec::ExecToStack "initexmf.exe --report"
PagesSee NSIS_SR:#4.5 Page - pagesSee NSIS_SR:#4.5.4 and NSIS_SR:#4.5 SectionsAddSize - section commandSee NSIS_SR:#4.6.1.1 Section - section commandSee NSIS_SR:#4.6.1.2 SectionEnd - section commandSee NSIS_SR:#4.6.1.3 SectionIn - section command - U onlySee NSIS_SR:#4.6.1.4 Installer attributesBrandingText - general attributeSee NSIS_SR:#4.8.1.6 Caption - general attribute - J onlySee NSIS_SR:#4.8.1.7 CRCCheck - general attribute - U onlyIcon - general attribute - J onlyInstallDir - general attributeLicenseData - general attribute - U onlyName - general attributeOutFile - general attributeShowInstDetails - general attribute - J onlySilentInstall - general attribute - J onlySetCompressor - compiler flagsSee NSIS_SR:#4.8.2.4 VIAddVersionKey - version information - J onlySee NSIS_SR:#4.8.3.1 VIProductVersion - version information - J onlySee NSIS_SR:#4.8.3.2 Pre-compiler statements!addplugindir - - J only!define!ifdef!ifndef!include!insertmacro!macro!macroend!system - J only!undefMacros used for high level flow control and logicI'm hoping the meaning of these macros are obvious - no link to documentation yet. ${do}${loopuntil}${loop} - - J only${if}${orif}${andif}${elseif} - - J only${else}${endif}${unless} - - J only${andunless} - - J only${for} - - U only${exitfor} - - U only${next} - - U onlyInstructions (commands)Var - User variablesSee NSIS_SR:#4.2.1.1 Function - function commandsSee NSIS_SR:#4.7.1.1 FunctionEnd - function commandsSee NSIS_SR:#4.7.1.2 Delete - basicSee NSIS_SR:#4.9.1.1 Exec - basic - U onlySee NSIS_SR:#4.9.1.2 ExecShell - basicSee NSIS_SR:#4.9.1.3 ExecWait - basicSee NSIS_SR:#4.9.1.4 File - basicSee NSIS_SR:#4.9.1.5 Rename - basic - U onlySee NSIS_SR:#4.9.1.6 ReserveFile - basicSee NSIS_SR:#4.9.1.7 RMDir - basicSee NSIS_SR:#4.9.1.8 SetOutPath - basicSee NSIS_SR:#4.9.1.9 DeleteRegKey - registry, INI, file instructionsSee NSIS_SR:#4.9.2.3 DeleteRegValue - registry, INI, file instructions - U onlySee NSIS_SR:#4.9.2.4 EnumRegKey - registry, INI, file instructionsSee NSIS_SR:#4.9.2.5 EnumRegValue - registry, INI, file instructions - U onlySee NSIS_SR:#4.9.2.6 ReadRegStr - registry, INI, file instructionsWriteRegDWORD - registry, INI, file instructions - U onlyWriteRegStr - registry, INI, file instructionsCallInstDLL - general purpose - J onlySee NSIS_SR:#4.9.3.1 CopyFiles - general purposeSee NSIS_SR:#4.9.3.2 CreateDirectory - general purpose - U onlySee NSIS_SR:#4.9.3.3 CreateShortCut - general purposeSee NSIS_SR:#4.9.3.4 GetFileTime - general purpose - J onlySee NSIS_SR:#4.9.3.7 GetFullPathName - general purpose - J onlySee NSIS_SR:#4.9.3.9 Abort - flow controlSee NSIS_SR:#4.9.4.1 Call - flow controlSee NSIS_SR:#4.9.4.2 ClearErrors - flow control - U onlySee NSIS_SR:#4.9.4.3 Goto - flow controlSee NSIS_SR:#4.9.4.7 IfErrors - flow control - U onlySee NSIS_SR:#4.9.4.9 IfFileExists - flow control - U onlyIfSilent - flow control - J onlyIntCmp - flow control - U onlyMessageBox - flow controlReturn - flow control - U onlyQuit - flow control - J onlyStrCmp - flow controlFileClose - File instructions - U onlySee NSIS_SR:#4.9.5.1 hmm... shouldn't J also close the file?
FileOpen - file instructionsSee NSIS_SR:#4.9.5.2 FileRead - file instructions - U onlySee NSIS_SR:#4.9.5.3 FileWrite - file instructionsSee NSIS_SR:#4.9.5.6 FindClose - file instructions - U onlySee NSIS_SR:#4.9.5.8 FindFirst - file instructions - U onlySee NSIS_SR:#4.9.5.9 FindNext - file instructions - U onlyWriteUninstaller - uninstaller instructionsInitPluginsDir - miscellanous instructions - J onlySetShellVarContext - miscellanous instructionsSee NSIS_SR:#4.9.7.6 Sleep - miscellanous instructions - J onlySee NSIS_SR:#4.9.7.7 StrCpy - string manipulationSee NSIS_SR:#4.9.8.1 StrLen - string manipulationSee NSIS_SR:#4.9.8.2 Exch - stack supportSee NSIS_SR:#4.9.9.1 Pop - stack supportSee NSIS_SR:#4.9.9.2 Push - stack supportSee NSIS_SR:#4.9.9.3 IntOp - integer supportSectionSetFlags - section management - U onlySectionGetFlags - section management - U onlySectionSetText - section management - U onlySectionSetSize - section management - J onlySectionGetSize - section management - J onlyBringToFront - user interface - J onlyDetailPrint - user interface - J onlyEnableWindow - user interface - J onlyFindWindow - user interface - J onlyGetDlgItem - user interface - J onlyHideWindow - user interfaceSetAutoClose - user interface - U onlySetDetailsPrint - user interface - J onlyShowWindow - user interface - J onlyLangString - multiple language - J onlyHmm... according to section 4.4, Ask Joost if this is really an attribute? Macros used as instructionsThe following are probably macros that have been used as instructions. I think they come from some standard libraries. ${StrStr} - - J only${GetParent} - - J only${VersionCompare} - - J only${WordFind2X} - - J onlyMacros used as instructions - created by JThere are probably many more macros... ${LanguageStringAdd} - - J only${REG_FILEEXT} - - J only${FILE}<filename> - - - J onlytempfile.py"
${REG_FILETYPE}<???> - - J onlyExample: ${REG_FILETYPE}\DefaultIcon" "" "$INSTDIR\bin\lyx_doc_32x32.ico"
${REG_UNINSTALL} - - J onlyMacros used as instructions - created by UThere are probably many more macros... ${CreateApplicationAssociation} - - U only${CreateFileAssociation} - - U only${RefreshShellIcons} - - U only${RemoveFileAssociation} - - U onlyCategory: NSIS, Development, Windows installer |