Install WinPcap 4.1 beta5. It's stable, and is required for Win64.
svn path=/trunk/; revision=28521
This commit is contained in:
parent
3c4d1f5930
commit
3c0f8a4f52
Binary file not shown.
Binary file not shown.
|
@ -715,8 +715,8 @@ IfErrors lbl_winpcap_notinstalled ;if RegKey is unavailable, WinPcap is not inst
|
|||
;DetailPrint "WinPcap uninstaller returned $0"
|
||||
lbl_winpcap_notinstalled:
|
||||
SetOutPath $INSTDIR
|
||||
File "WinPcap_4_0_2.exe"
|
||||
ExecWait '"$INSTDIR\WinPcap_4_0_2.exe"' $0
|
||||
File "WinPcap_4_1_beta5.exe"
|
||||
ExecWait '"$INSTDIR\WinPcap_4_1_beta5.exe"' $0
|
||||
DetailPrint "WinPcap installer returned $0"
|
||||
SecRequired_skip_Winpcap:
|
||||
|
||||
|
@ -1227,7 +1227,7 @@ lbl_winversion_unsupported_nt4:
|
|||
lbl_winversion_supported:
|
||||
|
||||
; detect if WinPcap should be installed
|
||||
WriteINIStr "$PLUGINSDIR\WinPcapPage.ini" "Field 4" "Text" "Install WinPcap 4.0.2"
|
||||
WriteINIStr "$PLUGINSDIR\WinPcapPage.ini" "Field 4" "Text" "Install WinPcap 4.1 beta5"
|
||||
ReadRegStr $WINPCAP_NAME HKEY_LOCAL_MACHINE "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\WinPcapInst" "DisplayName"
|
||||
IfErrors 0 lbl_winpcap_installed ;if RegKey is available, WinPcap is already installed
|
||||
WriteINIStr "$PLUGINSDIR\WinPcapPage.ini" "Field 2" "Text" "WinPcap is currently not installed"
|
||||
|
@ -1240,7 +1240,7 @@ lbl_winpcap_installed:
|
|||
; Compare the installed build against the one we have.
|
||||
ReadRegStr $WINPCAP_VERSION HKEY_LOCAL_MACHINE "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\WinPcapInst" "DisplayVersion"
|
||||
StrCmp $WINPCAP_VERSION "" lbl_winpcap_do_install ; WinPcap is really old(?) or installed improperly.
|
||||
${VersionCompare} $WINPCAP_VERSION "4.0.0.1040" $1 ; WinPcap 4.0.2
|
||||
${VersionCompare} $WINPCAP_VERSION "4.0.0.1452" $1 ; WinPcap 4.1 beta5
|
||||
StrCmp $1 "2" lbl_winpcap_do_install
|
||||
|
||||
;lbl_winpcap_dont_install:
|
||||
|
@ -1253,7 +1253,7 @@ lbl_winpcap_installed:
|
|||
; force the user to upgrade by hand
|
||||
WriteINIStr "$PLUGINSDIR\WinPcapPage.ini" "Field 4" "State" "0"
|
||||
WriteINIStr "$PLUGINSDIR\WinPcapPage.ini" "Field 4" "Flags" "DISABLED"
|
||||
WriteINIStr "$PLUGINSDIR\WinPcapPage.ini" "Field 5" "Text" "If you wish to install WinPcap 4.0.2, please uninstall $WINPCAP_NAME manually first."
|
||||
WriteINIStr "$PLUGINSDIR\WinPcapPage.ini" "Field 5" "Text" "If you wish to install WinPcap 4.1 beta5, please uninstall $WINPCAP_NAME manually first."
|
||||
WriteINIStr "$PLUGINSDIR\WinPcapPage.ini" "Field 5" "Flags" "DISABLED"
|
||||
Goto lbl_winpcap_done
|
||||
|
||||
|
|
Loading…
Reference in New Issue