-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathnsDialogs.nsi
More file actions
45 lines (29 loc) · 851 Bytes
/
nsDialogs.nsi
File metadata and controls
45 lines (29 loc) · 851 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
; Scaffolding by https://github.com/idleberg/NSIS-Sublime-Text
; Includes ---------------------------------
!include nsDialogs.nsh
!include LogicLib.nsh
; Settings ---------------------------------
Name "installer_name"
OutFile "installer_name.exe"
RequestExecutionLevel user
InstallDir "$PROGRAMFILES\installer_name"
; Pages ------------------------------------
Page custom "nsdialog_page" "nsdialog_page_validation"
Page components
Page directory
Page instfiles
; Variables --------------------------------
; Functions --------------------------------
Function "nsdialog_page"
nsDialogs::Create 1018
Pop $0
# your code here
nsDialogs::Show
FunctionEnd
Function "nsdialog_page_validation"
# your code here
FunctionEnd
; Sections ---------------------------------
Section "section_name" section_index
# your code here
SectionEnd