Files
Document-Management-System-…/vendor/scrivo/highlight.php/test/detect/nsis/default.txt
2021-04-07 19:25:18 -04:00

38 lines
638 B
Plaintext
Vendored

/*
NSIS Scheme
for highlight.js
*/
; Includes
!include MUI2.nsh
; Defines
!define x64 "true"
; Settings
Name "installer_name"
OutFile "installer_name.exe"
RequestExecutionLevel user
CRCCheck on
!ifdef ${x64}
InstallDir "$PROGRAMFILES64\installer_name"
!else
InstallDir "$PROGRAMFILES\installer_name"
!endif
; Pages
!insertmacro MUI_PAGE_INSTFILES
; Sections
Section "section_name" section_index
nsExec::ExecToLog "calc.exe"
SectionEnd
; Functions
Function .onInit
DetailPrint "The install button reads $(^InstallBtn)"
DetailPrint 'Here comes a$\n$\rline-break!'
DetailPrint `Escape the dollar-sign: $$`
FunctionEnd