git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@1875 e7ae566f-a301-0410-adde-c780ea21d3b5
| ... | ... |
@@ -267,9 +267,10 @@ TUN/TAP Driver Configuration: |
| 267 | 267 |
needs to be manually copied to /kernel/drv/sparcv9/ and then a |
| 268 | 268 |
reconfiguration reboot. (boot -r). |
| 269 | 269 |
|
| 270 |
-* Windows 2000 and XP |
|
| 270 |
+* Windows 2000/XP/2003/Vista |
|
| 271 | 271 |
|
| 272 |
- See INSTALL-win32.txt for more info |
|
| 272 |
+ See domake-win for building instructions. |
|
| 273 |
+ See INSTALL-win32.txt for usage info. |
|
| 273 | 274 |
|
| 274 | 275 |
See the man page for more information, usage examples, and |
| 275 | 276 |
information on firewall configuration. |
| ... | ... |
@@ -2,9 +2,10 @@ |
| 2 | 2 |
|
| 3 | 3 |
# This is the master OpenVPN build script for Windows. |
| 4 | 4 |
# This script will build OpenVPN, the TAP driver, and |
| 5 |
-# the installer from source. |
|
| 5 |
+# the installer from source, targeting x86 on Windows |
|
| 6 |
+# 2000 and higher, and x64 on Windows 2003 and higher. |
|
| 6 | 7 |
# |
| 7 |
-# See top-devel build configuration in install-win32/version.nsi |
|
| 8 |
+# See top-level build configuration in install-win32/settings.in |
|
| 8 | 9 |
# |
| 9 | 10 |
# Prerequisite installs: |
| 10 | 11 |
# |
| ... | ... |
@@ -13,7 +14,12 @@ |
| 13 | 13 |
# msysDTK -- for perl |
| 14 | 14 |
# NSIS -- for building installer |
| 15 | 15 |
# svn -- for checking out source code (or TortoiseSVN) |
| 16 |
-# Windows Driver Kit Vista RC1 (5600) -- for building TAP driver + tapinstall |
|
| 16 |
+# Windows Driver Kit, Vista RC1 (5600) -- for building TAP driver + tapinstall |
|
| 17 |
+# |
|
| 18 |
+# Required libraries (must be prebuilt) |
|
| 19 |
+# |
|
| 20 |
+# OpenSSL -- define OPENSSL_DIR in settings.in |
|
| 21 |
+# LZO -- define LZO_DIR in settings.in |
|
| 17 | 22 |
# |
| 18 | 23 |
# Required source code not included in OpenVPN SVN repository |
| 19 | 24 |
# because of MS licensing restrictions: |
| ... | ... |
@@ -22,6 +22,10 @@ if [ -z "$DRVBINSRC" ] ; then |
| 22 | 22 |
rm -rf tapinstall |
| 23 | 23 |
cp -a "$TISRC" tapinstall |
| 24 | 24 |
|
| 25 |
+ if [ -e tapinstall/sources.in ]; then |
|
| 26 |
+ perl install-win32/ifdef.pl autodefs/defs.in <tapinstall/sources.in >tapinstall/sources |
|
| 27 |
+ fi |
|
| 28 |
+ |
|
| 25 | 29 |
cd tapinstall |
| 26 | 30 |
t=`pwd` |
| 27 | 31 |
cd .. |
| ... | ... |
@@ -606,10 +606,12 @@ Section "Uninstall" |
| 606 | 606 |
|
| 607 | 607 |
RMDir /r $SMPROGRAMS\${PRODUCT_NAME}
|
| 608 | 608 |
|
| 609 |
- Delete "$INSTDIR\bin\${PRODUCT_UNIX_NAME}.exe"
|
|
| 610 | 609 |
!ifdef OPENVPN_GUI_DEFINED |
| 611 | 610 |
Delete "$INSTDIR\bin\${OPENVPN_GUI}"
|
| 611 |
+ Delete "$DESKTOP\${PRODUCT_NAME} GUI.lnk"
|
|
| 612 | 612 |
!endif |
| 613 |
+ |
|
| 614 |
+ Delete "$INSTDIR\bin\${PRODUCT_UNIX_NAME}.exe"
|
|
| 613 | 615 |
Delete "$INSTDIR\bin\${PRODUCT_UNIX_NAME}serv.exe"
|
| 614 | 616 |
Delete "$INSTDIR\bin\libeay32.dll" |
| 615 | 617 |
Delete "$INSTDIR\bin\libssl32.dll" |