summaryrefslogtreecommitdiffstats
path: root/install-win32/buildinstaller
blob: 83057bba65a9a22eccd43c9591682b41bd08843c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh

# load version.nsi definitions
. autodefs/defs.sh

# build the installer
rm -f $GENOUT/*.exe
'/c/Program Files/NSIS/makensis' $GENOUT/nsi/openvpn.nsi &>makensis.log
tail -20 makensis.log

# sign the installer
if [ -d "$SIGNTOOL" ]; then
    TARGET_EXE="$(echo $(pwd)/$GENOUT/*.exe)" $SIGNTOOL/signexe
fi