-
-
Notifications
You must be signed in to change notification settings - Fork 85
/
nsis.scroll
149 lines (120 loc) · 3.78 KB
/
nsis.scroll
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
import ../code/conceptPage.scroll
id nsis
name NSIS
appeared 2001
tags pl
website http://nsis.sourceforge.net
standsFor Nullsoft Software Install Script
fileType text
codeMirror nsis
rosettaCode http://www.rosettacode.org/wiki/Category:NSIS
centralPackageRepositoryCount 0
country United States
originCommunity Nullsoft, Inc
helloWorldCollection Nullsoft Software Install Script
; Hello World in Nullsoft Software Install Script (NSIS)
Caption "Hello World!"
OutFile ".\HelloWorld.exe"
SilentInstall silent
Section ""
MessageBox MB_OK "Hello World!"
SectionEnd
pygmentsHighlighter NSIS
filename installers.py
fileExtensions nsi nsh
twitter https://twitter.com/nsis_tweets
lineCommentToken ;
hasComments true
hasLineComments true
; A comment
hasSemanticIndentation false
wikipedia https://en.wikipedia.org/wiki/Nullsoft_Scriptable_Install_System
example
# Modern UI example script
!include MUI.nsh
Name "Example 2"
OutFile "Example2.exe"
!insertmacro MUI_PAGE_WELCOME
!insertmacro MUI_PAGE_LICENSE "license.rtf"
!insertmacro MUI_PAGE_DIRECTORY
!insertmacro MUI_PAGE_COMPONENTS
!insertmacro MUI_PAGE_INSTFILES
!insertmacro MUI_PAGE_FINISH
!insertmacro MUI_LANGUAGE "English"
!insertmacro MUI_LANGUAGE "German"
!insertmacro MUI_LANGUAGE "French"
Section "Extract makensis"
SetOutPath $INSTDIR
File ..\makensis.exe
SectionEnd
related c eclipse-editor delphi visual-studio-editor python
summary Nullsoft Scriptable Install System (NSIS) is a script-driven installer authoring tool for Microsoft Windows with minimal overhead backed by Nullsoft, the creators of Winamp. NSIS is released under a combination of free software licenses, primarily the zlib license. It has become a widely used alternative to commercial proprietary products like InstallShield, with users including Amazon.com, Dropbox, Ubisoft, FL Studio, BitTorrent, and McAfee.
pageId 307436
dailyPageViews 97
created 2003
backlinksCount 103
revisionCount 476
appeared 2001
tiobe NSIS
domainName nsis.sourceforge.net
githubBigQuery NSIS
repos 8095
users 7167
linguistGrammarRepo https://github.com/github-linguist/NSIS
firstCommit 2011
lastCommit 2016
committerCount 12
commitCount 75
sampleCount 2
example
; ---------------------
; x64.nsh
; ---------------------
;
; A few simple macros to handle installations on x64 machines.
;
; RunningX64 checks if the installer is running on x64.
;
; ${If} ${RunningX64}
; MessageBox MB_OK "running on x64"
; ${EndIf}
;
; DisableX64FSRedirection disables file system redirection.
; EnableX64FSRedirection enables file system redirection.
;
; SetOutPath $SYSDIR
; ${DisableX64FSRedirection}
; File some.dll # extracts to C:\Windows\System32
; ${EnableX64FSRedirection}
; File some.dll # extracts to C:\Windows\SysWOW64
;
!ifndef ___X64__NSH___
!define ___X64__NSH___
!include LogicLib.nsh
!macro _RunningX64 _a _b _t _f
!insertmacro _LOGICLIB_TEMP
System::Call kernel32::GetCurrentProcess()i.s
System::Call kernel32::IsWow64Process(is,*i.s)
Pop $_LOGICLIB_TEMP
!insertmacro _!= $_LOGICLIB_TEMP 0 `${_t}` `${_f}`
!macroend
!define RunningX64 `"" RunningX64 ""`
!macro DisableX64FSRedirection
System::Call kernel32::Wow64EnableWow64FsRedirection(i0)
!macroend
!define DisableX64FSRedirection "!insertmacro DisableX64FSRedirection"
!macro EnableX64FSRedirection
System::Call kernel32::Wow64EnableWow64FsRedirection(i1)
!macroend
!define EnableX64FSRedirection "!insertmacro EnableX64FSRedirection"
!endif # !___X64__NSH___
isbndb 0
githubLanguage NSIS
fileExtensions nsi nsh
trendingProjectsCount 0
type programming
aceMode text
codemirrorMode nsis
codemirrorMimeType text/x-nsis
tmScope source.nsis
repos 4747