Home | Blog | Software | Reviews and Features | Forum | Help | Donate | About us
topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • September 25, 2016, 03:56:29 AM
  • Proudly celebrating 10 years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: [SOLVED] [2.39.01] Fails installing Winpcap, even after manualling removing it  (Read 855 times)

Shohreh

  • Participant
  • Joined in 2014
  • *
  • default avatar
  • Posts: 5
    • View Profile
    • Donate to Member
Hello

I tried upgrading to 2.39.01, but it fails upgrading Winpcap, even after manually removing the previous version manually through Control Panel:

Quote
WinPcap 4.1.3 Setup: A previous version of WinPcap has been detected on this system and cannot be removed because in use by another application. Please close all the WinPcap-based applications and run the installer again."

Since it doesn't say _which_ application is keeping Winpcap loaded, I don't know what to try.

Any idea?

Thank you.
« Last Edit: March 08, 2016, 05:01:28 AM by Shohreh »

Shades

  • Member
  • Joined in 2006
  • **
  • Posts: 2,078
    • View Profile
    • Donate to Member
Re: [2.39.01] Fails installing Winpcap, even after manualling removing it
« Reply #1 on: March 07, 2016, 06:08:52 AM »
The error message doesn't specify which program because the file-system doesn't say which program locks the file. It only reports that the file is locked by at least one program. Nothing more, nothing less.

By uninstalling it, most of the installed WinPcap files are removed, but there is likely still one or more .dll files of the WinPcap software in use by another program.

It is probably easiest to look for the names of the WinPcap files that remain on your computer (perhaps: C:\Program Files (x86)\WinPcap) and using the excellent Process Explorer to see all currently active processes in your computer. By double-clicking on a process you will see a tab that will give you information about which .dll files the selected process uses. Close each process that uses any of the WinPcap .dll's you found. Once you are done with that, you can install the latest version of WinPcap.

This can be quite a labor-intensive way, depending on the amount of active processes on your computer.

Since you already uninstalled it, a full reboot of your PC is easier. Because then all the processes are reset and as there is an incomplete version of the WinPcap on the system, no process will make use of this incomplete version anymore. This allows you to get rid of remaining files yourself, if the installer of the updated WinPcap software doesn't take care of that automagically.

Shohreh

  • Participant
  • Joined in 2014
  • *
  • default avatar
  • Posts: 5
    • View Profile
    • Donate to Member
Re: [2.39.01] Fails installing Winpcap, even after manualling removing it
« Reply #2 on: March 07, 2016, 06:20:52 AM »
Thanks for the info.

There are no trace left of Winpcap under C:\Program Files, and the CLI Listdlls.exe application has no mention of "winpcap".

I guess I'll save everything and reboot (something I try to avoid because it takes a while to save/close/reload everything I have opened on my computer).

Shohreh

  • Participant
  • Joined in 2014
  • *
  • default avatar
  • Posts: 5
    • View Profile
    • Donate to Member
Re: [2.39.01] Fails installing Winpcap, even after manualling removing it
« Reply #3 on: March 07, 2016, 06:21:14 PM »
Rebooted, tried again with all apps closed: Same result.

What should I do to investigate?

Shades

  • Member
  • Joined in 2006
  • **
  • Posts: 2,078
    • View Profile
    • Donate to Member
Re: [2.39.01] Fails installing Winpcap, even after manualling removing it
« Reply #4 on: March 07, 2016, 07:32:37 PM »
That would indicate there is an background service on your computer that prevents you from installing a new version of WinPcap.

The easiest step is to start your Windows PC in safe mode and check if the updated WinPcap installer can remove the old one.

Realize that the WinPcap software hooks into your software Windows requires, else it won't be able catch network traffic. This software needs to be able to work on a level very close to the networking hardware in your computer. Windows is not fond of this kind of software and required you to reboot the first time you installed it.

So, while I understand you don't like to reboot your computer, with installing and removing this kind of software you must. Because if you don't, you'll quickly find yourself in a mess similar to this one.

When in safe mode, if the updated installer cannot get rid of the old WinPcap installation, you will need to find out which background service blocks the installation.

Process explorer (part of the Sysinternals Suite) will be a great help. Dependency Walker is another very good investigation tool. While I don't think these tools are hard to use, you might think otherwise. Please read their online manuals, because you will be the one doing the legwork.

Next time you go on an "adventure" like this, Use a free tool such as RevoUninstaller (scroll to the bottom of that page to find the freeware version) for removing software from your computer. While the Windows control panel gives you the illusion of removing software, it often doesn't. With a tool like RevoUninstaller you will be amazed about the amount of crap that remains after Windows reported it removed software from your system.

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 36,247
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: [2.39.01] Fails installing Winpcap, even after manualling removing it
« Reply #5 on: March 07, 2016, 08:59:08 PM »
This Q&A seems to describe your exact problem and a possible solution/workaround:

http://superuser.com...d-version-of-winpcap

Let us know if it works!

Shohreh

  • Participant
  • Joined in 2014
  • *
  • default avatar
  • Posts: 5
    • View Profile
    • Donate to Member
Re: [2.39.01] Fails installing Winpcap, even after manualling removing it
« Reply #6 on: March 08, 2016, 05:00:05 AM »
Thanks much for the infos. It ended up working without rebooting… but I have no idea why :huh:

1. Tried to delete packet.dll from c:\windows\system32: "The action can't be completed because the file is open in FreemakeVideoCapture". The application wasn't running.

2. Show all processes (not just user's): FreemakeUtilsService.exe is running -> "Windows could not stop the FreemakeVideoCapture service on Local Computer. Error 1061: The service cannot accept control messages at this time."

3. Process Explorer failed finding any application using Packet.dll.

4. Tried again to delete Packet.dll: Worked! Tried again to run UrlSnopper install, including WinpCap installer: Worked!

I'll use RevoUninstaller the next time an upgrade of WinpCap is required.

Thank you.