summaryrefslogtreecommitdiff
path: root/install-win32/buildinstaller
diff options
context:
space:
mode:
Diffstat (limited to 'install-win32/buildinstaller')
-rw-r--r--install-win32/buildinstaller14
1 files changed, 14 insertions, 0 deletions
diff --git a/install-win32/buildinstaller b/install-win32/buildinstaller
new file mode 100644
index 0000000..a17a027
--- /dev/null
+++ b/install-win32/buildinstaller
@@ -0,0 +1,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