big-moving.ru/assets/vendor_plugins/ace-builds-master/demo/kitchen-sink/docs/nsis.nsi

31 lines
486 B
Plaintext
Raw Normal View History

2022-06-24 15:29:23 +05:00
/*
NSIS Mode
for Ace
*/
; Includes
!include MUI2.nsh
; 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
# your code here
SectionEnd
; Functions
Function .onInit
MessageBox MB_OK "Here comes a$\n$\rline-break!"
FunctionEnd