Skip to content

NPcap upgrade from 1.81 → 1.83 intermittently fails with exit code 2 #811

@vitezslav-popovsky-solarwinds

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

  1. Uninstall npcap (Uninstall.exe /S)
  2. Install 1.81 with the above options
  3. Install 1.83 with the above options
  4. 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

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions