This directory contains the scripts to generate an MSI installer.
- Visual Studio 2013. Current build pipeline does not work with 2015.
- Node 12.19.x for Windows. Check you have node.exe in
C:\Program Files (x86)\nodejs\node.exe
. - Update NPM to version 6.14.8
- Wix Binaries. Check you have the bin in
c:\Program Files (x86)\WiX Toolset v3.8\bin
- Your node-gyp should be able to build native dependencies. Use version 10.19.0
- Download nssm and copy the content to
c:\Program Files (x86)\nssm-2.24\
folder.
If you are running on Windows 2012R2 once you have installed VS2013 you can run
iwr https://raw.githubusercontent.com/auth0/ad-ldap-connector/master/installer/prepare.ps1 -UseBasicParsing | iex
from an Elevated Powershell console and it will download and install all other components.
If you intent to sign the installer you will also need
- If you are building on Windows 2008 or earlier versions you need Microsoft SDK v7.1A. Verify you have
C:\Program Files (x86)\Microsoft SDKs\Windows\v7.1A\Bin\signtool.exe
- You need to install Auth0's certificate to sign components and installer in your local certificate storage. Just double click on it.
- git clone this repository
- run
npm i --production
- remove unnecessary files
node_modules\edge\test
,node_modules\leveldown\build\Release\obj
andnode_modules\leveldown\build\Release\leveldb.lib
- run
npm version patch
- from an Elevated Powershell console, run
cd installer
and then.\build.ps1
.