You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
npcap: when winpcap installed then winpcap_mode cmdline param is not respected #717
When Npcap installer finds Winpcap installed on system then it forces compatible mode checkbox to unchecked state, thus not respecting and completely ignoring /winpcap_mode command line param.
I did check old installer script (as the new one is not available on the repo anymore?) and despite I'm not familiar with nsis, I really guess the middle line below does just that:
WriteINIStr "$PLUGINSDIR\options.ini" "Field 8" "Text" "Npcap detected you have installed WinPcap, in order to Install Npcap \r\nin WinPcap API-compatible Mode, WinPcap will be uninstalled first."
WriteINIStr "$PLUGINSDIR\options.ini" "Field 7" "State" 0
WriteINIStr "$PLUGINSDIR\options.ini" "Field 7" "Text" "Install Npcap in WinPcap API-compatible Mode (WinPcap will be uninstalled)"
Now that compatible mode is off by default on Npcap, could you please consider removing that line and allowing it to respect the command line param?
Or... if you really want to keep the current behavior for some reason, could you please add some other param to allow forcing/overriding it? But honestly I don't see why this would be required, if a command line param is set to specifically install with compatible mode enabled then that is desired/needed and I guess it should be respected, incl. uninstall Winpcap if present.
Btw, I did also notice that the documented 'enforced' value for params don't work at all, despite there is code to make them work they are "filtered" on the getInstallOptions function... not sure if this was some intended change (and documentation is outdated in that case) or a bug?
changed the title [-]when winpcap installed then winpcap_mode cmdline param is not respected[/-][+]npcap: when winpcap installed then winpcap_mode cmdline param is not respected[/+]on Mar 2, 2017
Activity
[-]when winpcap installed then winpcap_mode cmdline param is not respected[/-][+]npcap: when winpcap installed then winpcap_mode cmdline param is not respected[/+]narspt commentedon Mar 6, 2017
I can confirm that /winpcap_mode override is fixed on 0.83, thank you.
Concerning 'enforced' values they are still ignored, not sure if intended? (but they are still listed on documentation)