summaryrefslogtreecommitdiffstats
path: root/install-win32/signinstaller
diff options
context:
space:
mode:
Diffstat (limited to 'install-win32/signinstaller')
-rw-r--r--install-win32/signinstaller16
1 files changed, 16 insertions, 0 deletions
diff --git a/install-win32/signinstaller b/install-win32/signinstaller
new file mode 100644
index 0000000..fba1db8
--- /dev/null
+++ b/install-win32/signinstaller
@@ -0,0 +1,16 @@
+#!/bin/sh
+
+# Sign the installer
+
+SIGN=../sign
+
+c=`pwd`
+cd install-win32
+ls openvpn*.exe 2>/dev/null || exit 1
+exe=`pwd`/`ls -t openvpn*.exe | head -n 1`
+cd $c
+cd $SIGN
+
+TS="http://timestamp.verisign.com/scripts/timstamp.dll"
+echo '******************' SIGN OpenVPN INSTALLER
+./signcode -spc mycredentials.spc -v myprivatekey.pvk -a sha1 -n "OpenVPN Installer" -t $TS `perl $c/install-win32/dosname.pl $exe`