-
Notifications
You must be signed in to change notification settings - Fork 568
Description
Describe the bug
NPcap OEM 1.83 silent upgrade fails randomly with exit code 2
With the following error in the install.log
Sleep(100)
File: overwriteflag=0, allowskipfilesflag=0, name="Uninstall.exe"
File: error creating "C:\Program Files\Npcap\Uninstall.exe"
File: error, user abort
Install options (both installers):
/S /loopback_support=no /dlt_null=no /admin_only=yes /dot11_support=yes /winpcap_mode=no
To Reproduce
- Uninstall npcap (Uninstall.exe /S)
- Install 1.81 with the above options
- Install 1.83 with the above options
- Repeat until failure (loop)
Expected behavior
Npcap 1.83 should install successfully during the upgrade process without errors, handling file operations reliably and completing the installation in a consistent and resilient manner.
Diagnostic information
-
Windows version from
winver(e.g. Windows 11 Version 21H2, OS Build 22000.795)
Windows Server 2019 Version 1809 (OS Build 17763.7792) -
Output of DiagReport
DiagReport-20250919-201005.txt -
If installation failed, include SetupApi.dev.log
setupapi.dev.log -
Any special hardware or software that may be relevant: VPN, firewall, antivirus, virtualization (SR-IOV passthrough, etc).
VMware vSphere
Additional context
Repro-NpcapUpgrade.txt
PS C:\> .\Repro-NpcapUpgrade.ps1
========== Attempt #1 ==========
Uninstall exit code: 0
1.81 install exit code: 0
1.83 install exit code: 0
========== Attempt #2 ==========
Uninstall exit code: 0
1.81 install exit code: 0
1.83 install exit code: 0
========== Attempt #3 ==========
Uninstall exit code: 0
1.81 install exit code: 0
1.83 install exit code: 0
========== Attempt #4 ==========
Uninstall exit code: 0
1.81 install exit code: 0
1.83 install exit code: 0
========== Attempt #5 ==========
Uninstall exit code: 0
1.81 install exit code: 0
1.83 install exit code: 0
========== Attempt #6 ==========
Uninstall exit code: 0
1.81 install exit code: 0
1.83 install exit code: 2
Done. Final 1.83 exit code: 2