New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Installer Runtime error 255 at 76539962, Could not load SimpleSC.dll #226
Comments
What version are you trying to install? I am getting (presumably) the same error when trying to install 1.10 or 1.00 either from wireshark or from the npcap installer on Windows 10. I don't think, npcap is running, but I could be mistaken. |
I solved it for myself. If anyone else experiences this issue and is working remotely via citrix, not using citrix (directly) might help solve it for you. I was able to reproduce this issue. Worked fine via RDP, failed with error 255 when connected via Citrix. |
I've run into this issue as well, and I can confirm @urbanhusky's workaround works:
I feel like this is probably more of a Citrix issue than an npcap issue, but it would be nice if things "just worked." 😄 I see there's an issue already about updating the version of the NSIS installer being used (#292) - maybe newer versions of the installer address this particular issue? |
@9numbernine9 Thanks for confirming the issue. Npcap 1.20 uses NSIS 3, so we would appreciate if someone could answer whether the issue is resolved or persists there. Additionally, if someone could verify the size and digital signature of the SimpleSC.dll that is present but not loaded, that could inform us whether there is a corruption of the file as it is unpacked. Does Citrix enforce a storage quota that our installer might be exceeding? |
@dmiller-nmap Sorry for taking so long to respond! I tried again today with the NMAP 1.20 installer, but it seems to have the same behaviour as before. The error code is Looking in the temporary directory that the installer creates (
As before, using Remote Desktop Connection instead of Citrix lets the installation work perfectly. I wish I knew enough about Citrix to offer more suggestions but alas. 😞 |
@dmiller-nmap I can confirm @9numbernine9 's findings. The device hosted over Citrix Remote Access is the trigger. Works fine on the same device when just done over RDP (or physical console). As to storage quotas or any user profile management items that Citrix provides, those are not in play for my situation. They are not present or not turned on. At this point, I'm going to test telling Citrix not to hook and see if it makes a difference or not. |
@dmiller-nmap It is the Citrix hooking that causes the issue. When I exclude NPFInstall.exe, the problem does not happen. When I get another chance, I'll try and see if I can at least narrow it down to which hook is causing the issue as that might shed some light on the npcap side to fix it. |
Can anyone confirm whether the disk location of the installer in this case is local to the machine being installed or is accessed remotely? We're pretty sure that nmap/npcap-build@61cc998659bf5f16711bc4a27f1f14c3a0a15516 will fix the issue, but we would like to investigate whether a potential workaround would be copying the installer to the target machine before running it. |
I found no difference in behavior when running it locally vs remote, interactive or silent. |
As info, for the Citrix hooking DLL part of this, the installer still throws the error and prevents continuing through the install. While some parts of this issue may be resolved with 1.50, the core reported issue has not. |
I can confirm that NPCAP is still exhibiting this error using Npcap 1.50 installer over citrix. Same error, using a local disk as the origin of the installer. I can also confirm that disabling hooking also did the trick as a temporary workaround for me. |
For reference/information, I had to include the installer file in the ctx hooks (e.g. npcap-1.50.exe), only NPFInstall.exe did not turn out to be sufficient for me. This is the reg file I used:
|
The changes in 1.60 fix the issue with Citrix. |
Can yur tell me how to fix? I met the same error in my installer(make by inno setup). Thanks! |
Experiencing the same 255 error. Based on @urbanhusky report I tried to login via RDP but admin has disallowed login with RDP. So instead, as I was logged in with Citrix, I started the installation, after the options where made and the installation was on its way, I disconnected from Citrix. And it worked. Shoutout to @urbanhusky |
While running the installer.
Error
Runtime error 255 at 76539962
OK
Output folder: C:\Users\userid\AppData\Local\Temp\nsr4865.tmp
Extract: NPFInstall.exe
Output folder: C:\Program Files\Npcap
Extract: LICENSE
Extract: DiagReport.bat
Extract: DiagReport.ps1
Extract: FixInstall.bat
Output folder: C:\Program Files\Npcap
Extract: Uninstall.exe
Extract: NPFInstall.exe
Output folder: C:\Program Files\Npcap
Extract: npcap.sys
Extract: npcap.cat
Extract: npcap.inf
Extract: npcap_wfp.inf
Installing NDIS6.x x64 driver for 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
Clearing Npcap entries from driver store
Npcap driver cache in Driver Store has been successfully cleaned up!
Installing WFP callout driver
Npcap WFP callout driver has been successfully installed!
Installing NDIS filter driver
Npcap LWF driver has been successfully installed!
The npcap service was successfully created
Writing service options to registry
Starting the npcap driver
Could not load: C:\Users\userid\AppData\Local\Temp\nsr4865.tmp\SimpleSC.dll
NPCAP is running, but that could be from the previous install (is an upgrade). Installer is unable to be cancelled or closed, I have to kill the process. The files referrenced (SimpleSC.dll) are present in the directory being referenced.
I removed npcap fully, including driver and re-ran install. Took defaults, same result. NPCAP does get started successfully, but installer still hangs at this point.
The text was updated successfully, but these errors were encountered: