summaryrefslogtreecommitdiffstats
path: root/install-win32/buildinstaller
blob: a17a0272feb8d241d51d7bb1f3d2e7c47cfae2ac (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
    python $SIGNTOOL/signapp.py "$(echo $(pwd)/$GENOUT/*.exe)"
fi