src/Fierce.Mvc/wwwroot/content/easyui/insdep/plugin/highlight-9.9.0/test/detect/nsis/default.txt

(完整代码) 638B

/*
  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

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。