summaryrefslogtreecommitdiffstats
path: root/install-win32/buildinstaller
blob: 53a7d316f2dc5d415d9ecf7ece9b6061c59596ed (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" ] && ! [ -n "${EXTRACT_FILES+x}" ]; then
    TARGET_EXE="$(echo $(pwd)/$GENOUT/*.exe)" $SIGNTOOL/signexe
fi