nmap / npcap

Nmap Project's Windows packet capture and transmission library
https://npcap.com
Other
2.99k stars 516 forks source link

Npcap (0.07-r11) - installation fails on Server 2008 R2 SP1 #472

Closed simgar closed 3 years ago

simgar commented 8 years ago

I'm trying to install Npcap 0.07-r11 on a Server 2008 R2 SP1 machine which had Wireshark-win64-2.0.3 with WinPcap 4.1.3 installed. I've made several attempts with the same results, uninstalling each time. I can't find an installation log file to post here so I've attempted the installation again. This is everything I did and saw. Current situation is WinPcap 4.1.3 is not installed.

Execute: net stop npf
Execute: net stop npcap
Start setting system restore point: Before installation of Npcap 0.07
Error occured when starting setting system restore point, return value=|2147942526|
Windows CurrentVersion: 6.1 (win7)
Output folder: C:\Program Files\Npcap
Extract: LICENSE
Extract: NPFInstall2.exe
Extract: NPFInstall.exe
Output folder: C:\Program Files\Npcap
Extract: npf.sys
Extract: npf.inf
Extract: npf_wfp.inf
Extract: npf_wifi.inf
Extract: npf.cat
Extract: npcap.sys
Extract: npcap.inf
Extract: npcap_wfp.inf
Extract: npcap_wifi.inf
Extract: npcap.cat
Created uninstaller: C:\Program Files\Npcap\uninstall.exe
Installing NDIS6.x x64 driver for Vista, Win7, Win8 and Win10
Output folder: C:\Windows\system32
Extract: wpcap.dll
Extract: Packet.dll
Extract: NPcapHelper.exe
Extract: WlanHelper.exe
Output folder: C:\Windows\system32\Npcap
Extract: wpcap.dll
Extract: Packet.dll
Extract: NPcapHelper.exe
Extract: WlanHelper.exe
Output folder: C:\Windows\system32
Extract: wpcap.dll
Extract: Packet.dll
Extract: NPcapHelper.exe
Extract: WlanHelper.exe
Output folder: C:\Windows\system32\Npcap
Extract: wpcap.dll
Extract: Packet.dll
Extract: NPcapHelper.exe
Extract: WlanHelper.exe
Execute: "C:\Program Files\Npcap\NPFInstall.exe" -n -il
Execute: "C:\Program Files\Npcap\NPFInstall.exe" -n -c
The cache in driver store was cleared
Execute: "C:\Program Files\Npcap\NPFInstall.exe" -n -iw
Execute: "C:\Program Files\Npcap\NPFInstall.exe" -n -i
Failed to create the npcap service for Vista, Win7, Win8 and Win10
Execute: "C:\Program Files\Npcap\NPFInstall2.exe" -n -iw
Execute: "C:\Program Files\Npcap\NPFInstall2.exe" -n -i
Failed to create the npcap2 service for Vista, Win7, Win8 and Win10
Adding DLL folder: "C:\Windows\system32\Npcap" to PATH environment variable
Target was appended to PATH
Execute: net start npf
Execute: net start npcap
Completed

To aid diagnostics, from a Command Prompt as Administrator, I tried running

cd C:\Program Files\Npcap
NPFInstall.exe -?

and saw a window entitled 'NPFInsdtall.exe - System Error' - 'The program can't start because wlanapi.ddl is missing from your computer. Try reinstalling the program to fix this problem.'

Programs and Features now contains Npcap 0.07.

hsluoyz commented 8 years ago

Hi @simgar ,

Thanks for the report!

The bug is supposed to be fixed on the latest Npcap 0.07 r12 version, please try it at: https://github.com/nmap/npcap/releases

Please feedback to this issue after trying:)

simgar commented 8 years ago

What a quick response!

It does now install without error but Wireshark fails to start with the error:

'Wireshark.exe - System Error' - 'The program can't start because wlanapi.ddl is missing from your computer. Try reinstalling the program to fix this problem.'

I OK that and it appears again. I okay that and Wireshark opens its main window and starts loading modules and then I get a similar window:

'dumppcap.exe - System Error' - 'The program can't start because wlanapi.ddl is missing from your computer. Try reinstalling the program to fix this problem.'

OKing this causes it to appear again. And again. After 16 times, I gave up and closed the main Wireshark window.

I did try uninstalling and reinstalling Wireshark (v2.0.3) but the problem remains.

hsluoyz commented 8 years ago

'Wireshark.exe - System Error' - 'The program can't start because wlanapi.ddl is missing from your computer. Try reinstalling the program to fix this problem.'

By wlanapi.ddl, do you really mean wlanapi.dll? the dynamically-linked library?

I did try uninstalling and reinstalling Wireshark (v2.0.3) but the problem remains.

Do you still have this issue when installing WinPcap instead of Npcap?

hsluoyz commented 8 years ago

Hi @simgar .

I OK that and it appears again. I okay that and Wireshark opens its main window and starts loading modules and then I get a similar window:

'dumppcap.exe - System Error' - 'The program can't start because wlanapi.ddl is missing from your computer. Try reinstalling the program to fix this problem.'

The bug is supposed to be fixed on the latest Npcap 0.07 r13 version, please try it at: https://github.com/nmap/npcap/releases

Please feedback to this issue after trying:)

hsluoyz commented 8 years ago

I will assume that this issue has been fixed. If it hasn't, please reopen it again.

simgar commented 8 years ago

Now fixed. Thanks for the prompt response.