aboutsummaryrefslogtreecommitdiff
path: root/install-win32/version.nsi
diff options
context:
space:
mode:
Diffstat (limited to 'install-win32/version.nsi')
-rw-r--r--install-win32/version.nsi54
1 files changed, 48 insertions, 6 deletions
diff --git a/install-win32/version.nsi b/install-win32/version.nsi
index b371c29..164dc19 100644
--- a/install-win32/version.nsi
+++ b/install-win32/version.nsi
@@ -1,15 +1,57 @@
-; Version numbers and settings
+# Version numbers, settings, and dependencies
+# for Windows OpenVPN installer.
!define PRODUCT_VERSION "2.1_rc2c"
-!define OPENSSL_VERSION "0.9.7l"
-; TAP Adapter
+# Copy installer to this directory when finished.
+# If undefined, don't copy installer after generation.
+!define INSTALLER_DEST "/y"
+
+# Prebuilt libraries. DMALLOC is optional.
+!define OPENSSL_DIR "../openssl-0.9.7l"
+!define LZO_DIR "../lzo-2.02"
+!define DMALLOC_DIR "../dmalloc-5.4.2"
+
+# Write TAP driver and tapinstall.exe to this directory,
+# to use as prebuilt binaries for future builds. May
+# be undefined.
+;!define DRVBINDEST "../tapbin"
+
+# Don't build TAP driver and tapinstall.exe -- instead get
+# them as prebuilt binaries from this directory. May be
+# undefined.
+;!define DRVBINSRC "../tapbin"
+
+# tapinstall.exe source code.
+# Not needed if DRVBINSRC is defined.
+!define TISRC "../tapinstall"
+
+# TAP Adapter parameters.
!define PRODUCT_TAP_MAJOR_VER 9
!define PRODUCT_TAP_MINOR_VER 2
!define PRODUCT_TAP_RELDATE "03/05/2007"
-; Service template files service.[ch] (get from Platform SDK)
+# Service template files service.[ch] (get from Platform SDK).
+# If undefined, don't build openvpnserv.exe
!define SVC_TEMPLATE "../svc-template"
-; DDK Version
-!define DDKVER 3790
+# DDK Version.
+# DDK distribution is assumed to be in C:\WINDDK\${DDKVER}
+# Not needed if DRVBINSRC is defined.
+!define DDKVER "3790"
+
+# Code Signing.
+# This directory should contain signcode.exe + key files.
+# If undefined, don't sign any files.
+!define SIGNCODE "../sign"
+
+# INF2CAT should point to the MS inf2cat distribution.
+# inf2cat is used for driver signing.
+# If undefined, don't sign any files.
+!define INF2CAT "../inf2cat"
+
+# -j parameter passed to make
+!define MAKE_JOBS 2
+
+# do a make clean before make
+!define MAKE_CLEAN "yes"