-
Notifications
You must be signed in to change notification settings - Fork 17
Installation
alexmitev81 edited this page Feb 27, 2017
·
3 revisions
- Copy/Extract
Include
contents to NSISInclude
directory (usuallyC:\Program Files (x86)\Nsis\Include\
for 64-bit andC:\Program Files\Nsis\Include\
for 32-bit Windows) - Copy/Extract
Plugins
contents to NSISPlugins
directory (usuallyC:\Program Files (x86)\Nsis\Plugins\
for 64-bit andC:\Program Files\Nsis\Plugins\
for 32-bit Windows) - Add reference to
NsisMultiUser.nsh
in your main NSI file like this:!include NsisMultiUser.nsh
-
Copy the whole project into any folder, preferably in a subfolder under your NSIS script called
NsisMultiUser
. -
Add reference to the DLLs and to the INCLUDE headers like this:
!addplugindir /x86-ansi ".\NsisMultiUser\Plugins\x86-ansi\" !addplugindir /x86-unicode ".\NsisMultiUser\Plugins\x86-unicode\"
-
Add the include directory to the search path and include the
NsisMultiUser.nsh
file:!addincludedir ".\NsisMultiUser\Include\" !include NsisMultiUser.nsh
or include the full or relative path to the NsisMultiUser.nsh
file:
nsis !include ".\NsisMultiUser\Include\NsisMultiUser.nsh"