(Windows 2008 Server pre-RTM).
Fixed typo of DESC_SecPKCS11DLLs in openvpn.nsi.
git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@2651
e7ae566f-a301-0410-adde-
c780ea21d3b5
# msysDTK -- for perl
# NSIS -- for building installer
# svn -- for checking out source code (or TortoiseSVN)
-# Windows Driver Kit, Vista RC1 (5600) -- for building TAP driver + tapinstall
+# Windows Driver Kit (6001_17121_HyperV_WDK.iso) -- for building TAP driver + tapinstall
#
# Required libraries (must be prebuilt)
#
--- /dev/null
+# DDKs <= 5600 use "AMD64", later use "x64"
+x64_tag=x64
# get version.nsi definitions
. autodefs/defs.sh
+# common declarations for all DDK build targets
+. install-win32/ddk-common
+
if [ -n "$PRODUCT_TAP_DEBUG" ] ; then
w2ktarget="w2k c"
- amdtarget="chk AMD64 WNET"
+ amdtarget="chk $x64_tag WNET"
else
w2ktarget="w2k f"
- amdtarget="fre AMD64 WNET"
+ amdtarget="fre $x64_tag WNET"
fi
if [ -z "$DRVBINSRC" ] ; then
exit 1
fi
+# common declarations for all DDK build targets
+. install-win32/ddk-common
+
amdtarget=""
if [ -z "$TI_BIN_AMD64" ]; then
- amdtarget="fre AMD64 WNET"
+ amdtarget="fre $x64_tag WNET"
fi
if [ -z "$DRVBINSRC" ] ; then
LangString DESC_SecOpenSSLDLLs ${LANG_ENGLISH} "Install OpenSSL DLLs locally (may be omitted if DLLs are already installed globally)."
- LangString DESC_SecPKCS11LDLLs ${LANG_ENGLISH} "Install PKCS#11 helper DLLs locally (may be omitted if DLLs are already installed globally)."
+ LangString DESC_SecPKCS11DLLs ${LANG_ENGLISH} "Install PKCS#11 helper DLLs locally (may be omitted if DLLs are already installed globally)."
LangString DESC_SecTAP ${LANG_ENGLISH} "Install/Upgrade the TAP-Win32 virtual device driver. Will not interfere with CIPE."
# DDK Version.
# DDK distribution is assumed to be in C:\WINDDK\${DDKVER}
-!define DDKVER 5600
+!define DDKVER 6001.17121
+!define DDKVER_MAJOR 6001
# Code Signing.
# If undefined, don't sign any files.
#if ENABLE_NONADMIN
-#if DDKVER < 5600
+#if DDKVER_MAJOR < 5600
/*
* Better solution for use on Vista DDK, but possibly not compatible with
* earlier DDKs:
//======================================================
#include "../../autodefs/defs.h"
-#ifndef DDKVER
-#error DDKVER must be defined to the DDK Version as in c:\WinDDK\[DDKVER]\...
+#ifndef DDKVER_MAJOR
+#error DDKVER_MAJOR must be defined as the major number of the DDK Version
#endif
#define NDIS_MINIPORT_DRIVER
//========================================================
#define ENABLE_NONADMIN 1
-#if DDKVER < 5600
+#if DDKVER_MAJOR < 5600
#include <ndis.h>
#include <ntstrsafe.h>
#include <ntddk.h>
}
}
} else {
-#if DDKVER < 5600
+#if DDKVER_MAJOR < 5600
/* "MiniportName" is available only XP and above. Not on Windows 2000. */
NDIS_STRING key = NDIS_STRING_CONST("NdisVersion");
NdisReadConfiguration (&status, &parm, configHandle, &key, NdisParameterInteger);