default.txt 638 B

12345678910111213141516171819202122232425262728293031323334353637
  1. /*
  2. NSIS Scheme
  3. for highlight.js
  4. */
  5. ; Includes
  6. !include MUI2.nsh
  7. ; Defines
  8. !define x64 "true"
  9. ; Settings
  10. Name "installer_name"
  11. OutFile "installer_name.exe"
  12. RequestExecutionLevel user
  13. CRCCheck on
  14. !ifdef ${x64}
  15. InstallDir "$PROGRAMFILES64\installer_name"
  16. !else
  17. InstallDir "$PROGRAMFILES\installer_name"
  18. !endif
  19. ; Pages
  20. !insertmacro MUI_PAGE_INSTFILES
  21. ; Sections
  22. Section "section_name" section_index
  23. nsExec::ExecToLog "calc.exe"
  24. SectionEnd
  25. ; Functions
  26. Function .onInit
  27. DetailPrint "The install button reads $(^InstallBtn)"
  28. DetailPrint 'Here comes a$\n$\rline-break!'
  29. DetailPrint `Escape the dollar-sign: $$`
  30. FunctionEnd