Jump to content

Welcome to MSFN Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account



Photo

HELP: WinPcap installer fails on Win98SE

- - - - - WinPcap Windows 98 NSIS KernelEx Win98SE

  • Please log in to reply
5 replies to this topic

#1
CyberyogiCoWindler

CyberyogiCoWindler

    Junior

  • Member
  • Pip
  • 81 posts
  • Joined 04-September 10
  • OS:98SE
  • Country: Country Flag
To download video streams I am trying to install "URL Snooper 2.37.01" on Windows 98SE (German language) with KernelEx 4.5.120. The program depends on the WinPcap driver and comes with versions 4.1.3 and 4.0beta2 - the latter is claimed to be compatible for Windows 98. Unfortunately both refuse to install.

The WinPCap website claims "Starting from WinPcap 4.0beta3, support for the Windows 9x/ME family of operating systems has been dropped. The last builds supporting such OSes are WinPcap 3.1 and WinPcap 4.0beta2, both available in the archive."

http://www.winpcap.o...all/default.htm

However when I attempt to install the self-extracting EXE of 4.0beta2, its NSIS installer exits with the error requester "This version of Windows is not supported by WinPcap 4.0 beta 2. The installation will be aborted."

When I tried to install version 3.1, the NSIS installer exits with the even stranger error popup "WinPcap 3.1 can be installed on 32-bit x86 systems only. The installation will be aborted" My CPU is an AMD K6-3+, which is definitely 32 bit x86 compatible.

So the last version that still installs on Win98SE is WinPcap 3.1beta4, which seems to contain a different installer. Unfortunately it is too old and makes URL Snooper lock up, so I had to uninstall it.


I have now manually unpacked the 4.0beta2-WinPcap.exe with 7zip. It contains the following directories and files:
\$PLUGINSDIR
modern-header.bmp
modern-wizard.bmp
ioSpecial.ini
InstallOptions.dll
NSISdl.dll
nxs.dll
System.dll

\$R0\$PLUGINSDIR
UserInfo.dll

\$SYSDIR
Packet.dll
pthreadVC.dll
WanPacket.dll
wpcap.dll
npf.vxd

\$SYSDIR\drivers
npf.sys

\$TEMP
WpBann.htm
I copied the \$SYSDIR folder contents into "\windows\system", but I don't know what to do with the rest; it doesn't seem to be sufficient to work. Despite URL Snooper starts now (previously it complained missing Packet.dll) and shows the correct name of my USB ethernet adapter, the "sniff network" button triggers a popup requester "Automatic Network Adapter Detector FAILED | ERROR: Failed to find a suitable network driver."

When I debug the WinPcap 4.0beta2 installation process in Dependency Walker, before the popup it throws the error: "GetProcAddress(0xBFF70000 [e:\windows\system\KERNEL32.DLL], "GetUserDefaultUILanguage") called from "h:\download\utilities\videos downladen\winpcap\4.0BETA2-WINPCAP.EXE" at address 0x00405D06 and returned NULL. Error:" Apparently the NSIS installer is incompatible with Windows 98 because the function GetUserDefaultUILanguage in kernel32.dll exists only since Windows 2000. Also KernelEx settings don't seem to change this. So I added in kstub822.ini to the "[Kernel32.dll]" section the following line to simulate it:
[Kernel32.dll]
...
GetUserDefaultUILanguage=r0407 ; German language (added by =CO=Windler)
...
I tried this also with "e0", which is apparently supposed to suppress an error flag.
[Kernel32.dll]
...
GetUserDefaultUILanguage=r0407e0 ; German language (added by =CO=Windler)
...
But this doesn't do anything. Even DependencyWalker still shows the same "returned NULL" error. I am desperate. Is there a proper way to simulate GetUserDefaultUILanguage?

- How can I install the unpacked contents of 4.0beta2-WinPcap.exe manually?

MAY THE SOFTWARE BE WITH YOU!

*============================================================================*
CYBERYOGI Christian Oliver(=CO=) Windler
(teachmaster of LOGOLOGIE - the first cyberage-religion!)
!
*=============================ABANDON=THE=BRUTALITY==========================*
{http://weltenschule.de/e_index.html }



How to remove advertisement from MSFN

#2
danikayser84

danikayser84

    Newbie

  • Member
  • 10 posts
  • Joined 23-March 14
  • OS:Windows 2000 Professional
  • Country: Country Flag

Unfortunately, KernelEx will only help you with software (ex. Firefox 3, Opera 11, Flash Player 10, etc.) that doesn't run natively on 95/98/Me; it will not work with 2K/XP drivers (such as those for WinPCap, printers, video cards, etc.) :(


Lenovo IdeaCentre K410 (Win7SP1) • Dell Inspiron 8200 (WinXPSP3) • IBM ThinkPad T23 (Win2000) • IBM ThinkPad 600X (Win98SE) • IBM ThinkPad 770E (Win95C) • NEC Versa 6000H (WFW3.11/DOS 6.22) • PowerBook G3 Lombard (Mac OS X 10.3.9) • PowerBook G3 Wallstreet (Mac OS 9.2.2) • PowerBook 190cs (Mac OS 7.6.1)


#3
Drugwash

Drugwash

    MSFN Expert

  • Member
  • PipPipPipPipPipPip
  • 1,329 posts
  • Joined 21-June 06
  • OS:98SE
  • Country: Country Flag

Make sure you don't have an unwanted compatibility setting for the installer. I have checked the 4.0 beta2 installer on my main system (official KernelEx 4.5.2) and it works without problems.

 

I've also tried to compile WinPcap 4.0 beta2 and after some fiddling it appears to have succeded. However there is no NSIS installer project in the sources so the actual changes are unknown. It does appear to modify a few registry keys but they don't seem critical to the daily usage. Useful files should be packet.dll and wpcap.dll (and maybe npf.vxd which I haven't been able to compile due to out of environment space errors). pthreadVC.dll, Wanpacket.dll and npf.sys appear to be NT-related so they wouldn't have any business on a 9x system.



#4
CyberyogiCoWindler

CyberyogiCoWindler

    Junior

  • Member
  • Pip
  • 81 posts
  • Joined 04-September 10
  • OS:98SE
  • Country: Country Flag
May be the difference is that my Win98SE is the German language version? I already had tested for the installer all KernelEx compatibility modes without success.

MAY THE SOFTWARE BE WITH YOU!

*============================================================================*
CYBERYOGI Christian Oliver(=CO=) Windler
(teachmaster of LOGOLOGIE - the first cyberage-religion!)
!
*=============================ABANDON=THE=BRUTALITY==========================*
{http://weltenschule.de/e_index.html }


#5
CyberyogiCoWindler

CyberyogiCoWindler

    Junior

  • Member
  • Pip
  • 81 posts
  • Joined 04-September 10
  • OS:98SE
  • Country: Country Flag

This is my DependencyWalker log file from profiling 4.0beta2-WinPcap.exe.

Spoiler

MAY THE SOFTWARE BE WITH YOU!

*============================================================================*
CYBERYOGI Christian Oliver(=CO=) Windler
(teachmaster of LOGOLOGIE - the first cyberage-religion!)
!
*=============================ABANDON=THE=BRUTALITY==========================*
{http://weltenschule.de/e_index.html }


#6
Drugwash

Drugwash

    MSFN Expert

  • Member
  • PipPipPipPipPipPip
  • 1,329 posts
  • Joined 21-June 06
  • OS:98SE
  • Country: Country Flag

I see an antivirus popping up right after the error. Try disabling the antivirus while installing WinPcap.

 

I'm getting the same error on GetProcAddress - GetUserDefaultUILanguage, but it just goes on past that. It loads OLEAUT32.DLL, calls a few API in OLEAUT32 and OLE32 then it pops up a messagebox (in my case) saying it's already installed on this machine and if I want to force or abort the installation.

 

Yours being a German system should be the last on the list of possible reasons. Rather the antivirus or an incorrect OLE component installation/registration may be the reason.







Also tagged with one or more of these keywords: WinPcap, Windows 98, NSIS, KernelEx, Win98SE

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users