Skip to content

Installation

alexmitev81 edited this page Feb 27, 2017 · 3 revisions

Method 1: Copy to NSIS directory

  1. Copy/Extract Include contents to NSIS Include directory (usually C:\Program Files (x86)\Nsis\Include\ for 64-bit and C:\Program Files\Nsis\Include\ for 32-bit Windows)
  2. Copy/Extract Plugins contents to NSIS Plugins directory (usually C:\Program Files (x86)\Nsis\Plugins\ for 64-bit and C:\Program Files\Nsis\Plugins\ for 32-bit Windows)
  3. Add reference to NsisMultiUser.nsh in your main NSI file like this:
    !include NsisMultiUser.nsh

Method 2: Use locally

  1. Copy the whole project into any folder, preferably in a subfolder under your NSIS script called NsisMultiUser.

  2. 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\"
  3. 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"

Clone this wiki locally