| 1 |
/* |
| 2 |
NSIS Mode |
| 3 |
for Ace |
| 4 |
*/ |
| 5 |
|
| 6 |
; Includes |
| 7 |
!include MUI2.nsh |
| 8 |
|
| 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 |
|
| 20 |
; Pages |
| 21 |
!insertmacro MUI_PAGE_INSTFILES |
| 22 |
|
| 23 |
; Sections |
| 24 |
Section "section_name" section_index |
| 25 |
# your code here |
| 26 |
SectionEnd |
| 27 |
|
| 28 |
; Functions |
| 29 |
Function .onInit |
| 30 |
MessageBox MB_OK "Here comes a$\n$\rline-break!" |
| 31 |
FunctionEnd |