git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@1776 e7ae566f-a301-0410-adde-c780ea21d3b5
| ... | ... |
@@ -31,9 +31,9 @@ if [ -z "$DRVBINSRC" ] ; then |
| 31 | 31 |
# Get tapinstall |
| 32 | 32 |
mkdir bin/tapinstall |
| 33 | 33 |
mkdir bin/tapinstall/i386 |
| 34 |
+ mkdir bin/tapinstall/amd64 |
|
| 34 | 35 |
cp tapinstall/objfre_wnet_x86/i386/tapinstall.exe bin/tapinstall/i386 |
| 35 |
- #mkdir bin/tapinstall/amd64 |
|
| 36 |
- #cp tapinstall/objfre_wnet_amd64/amd64/tapinstall.exe bin/tapinstall/amd64 |
|
| 36 |
+ cp tapinstall/objfre_wnet_amd64/amd64/tapinstall.exe bin/tapinstall/amd64 |
|
| 37 | 37 |
else |
| 38 | 38 |
cp -a $DRVBINSRC/driver bin/driver |
| 39 | 39 |
cp -a $DRVBINSRC/tapinstall bin/tapinstall |
| ... | ... |
@@ -16,8 +16,7 @@ if [ -z "$DRVBINSRC" ] ; then |
| 16 | 16 |
t=`pwd` |
| 17 | 17 |
cd .. |
| 18 | 18 |
|
| 19 |
- # Add "fre AMD64 WNET" to below line to also build X64 version |
|
| 20 |
- for mode in "fre WNET" ; do |
|
| 19 |
+ for mode in "fre WNET" "fre AMD64 WNET"; do |
|
| 21 | 20 |
echo '**********' build TAPINSTALL $mode |
| 22 | 21 |
cmd //c "C:\\WINDDK\\$DDKVER\\bin\\setenv.bat C:\\WINDDK\\$DDKVER $mode && cd `perl install-win32/dosname.pl $t` && build -cef" |
| 23 | 22 |
done |
| ... | ... |
@@ -322,9 +322,13 @@ Section "TAP-Win32 Virtual Ethernet Adapter" SecTAP |
| 322 | 322 |
|
| 323 | 323 |
DetailPrint "We are running on a 64-bit system." |
| 324 | 324 |
|
| 325 |
+ SetOutPath "$INSTDIR\bin" |
|
| 326 |
+ |
|
| 327 |
+ File "${BIN}\tapinstall\amd64\tapinstall.exe"
|
|
| 328 |
+ |
|
| 325 | 329 |
SetOutPath "$INSTDIR\driver" |
| 330 |
+ |
|
| 326 | 331 |
File "${BIN}\driver\amd64\OemWin2k.inf"
|
| 327 |
- File "${BIN}\driver\amd64\tap.cat"
|
|
| 328 | 332 |
File "${BIN}\driver\amd64\${TAPDRV}"
|
| 329 | 333 |
|
| 330 | 334 |
goto tapend |
| ... | ... |
@@ -333,16 +337,15 @@ tap-32bit: |
| 333 | 333 |
|
| 334 | 334 |
DetailPrint "We are running on a 32-bit system." |
| 335 | 335 |
|
| 336 |
+ SetOutPath "$INSTDIR\bin" |
|
| 337 |
+ File "${BIN}\tapinstall\i386\tapinstall.exe"
|
|
| 338 |
+ |
|
| 336 | 339 |
SetOutPath "$INSTDIR\driver" |
| 337 | 340 |
File "${BIN}\driver\i386\OemWin2k.inf"
|
| 338 | 341 |
File "${BIN}\driver\i386\tap.cat"
|
| 339 | 342 |
File "${BIN}\driver\i386\${TAPDRV}"
|
| 340 | 343 |
|
| 341 |
-tapend: |
|
| 342 |
- |
|
| 343 |
- ; Use x86 tapinstall for both x86 and x64 |
|
| 344 |
- SetOutPath "$INSTDIR\bin" |
|
| 345 |
- File "${BIN}\tapinstall\i386\tapinstall.exe"
|
|
| 344 |
+ tapend: |
|
| 346 | 345 |
|
| 347 | 346 |
SectionEnd |
| 348 | 347 |
|
| ... | ... |
@@ -1,7 +1,7 @@ |
| 1 | 1 |
# Version numbers, settings, and dependencies |
| 2 | 2 |
# for Windows OpenVPN installer. |
| 3 | 3 |
|
| 4 |
-!define PRODUCT_VERSION "2.1_rc2e" |
|
| 4 |
+!define PRODUCT_VERSION "2.1_rc2c" |
|
| 5 | 5 |
|
| 6 | 6 |
# Copy installer to this directory when finished. |
| 7 | 7 |
# If undefined, don't copy installer after generation. |