update
Former-commit-id: bdede6ed1b6f578f2ef046c338caf02d0b29d453 [formerly 7187de361b53e9c8ec121df379b762f2db736ea2] Former-commit-id: 447d58460fbbfd05ffe08428a1288e392637561d
This commit is contained in:
31
_embed/public/ace/demo/kitchen-sink/docs/nsis.nsi
Normal file
31
_embed/public/ace/demo/kitchen-sink/docs/nsis.nsi
Normal file
@@ -0,0 +1,31 @@
|
||||
/*
|
||||
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
|
||||
Reference in New Issue
Block a user