windows 静默安装 winpcap

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/5609541/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-15 16:36:19  来源:igfitidea点击:

Install winpcap silently

cwindowswinpcap

提问by Jesvin Jose

I want to make a C program which uses winpcap. However, I first need to install the winpcap package into my PC using the installer before I can execute my program. How do I make my program do it (perform the actions of the winpcap installer) automatically?

我想制作一个使用 winpcap 的 C 程序。但是,我首先需要使用安装程序将 winpcap 软件包安装到我的 PC 中,然后才能执行我的程序。如何让我的程序自动执行(执行 winpcap 安装程序的操作)?

回答by Kevin Lacquement

Take a look at WinPcap Pro. It allows you to use WinPcap as a DLL, not requiring installation. Also, as far as I can gather from their website, this is the only legal way to distribute WinPcap with silent installation.

看看WinPcap Pro。它允许您将 WinPcap 用作 DLL,而无需安装。此外,据我所知,这是通过静默安装分发 WinPcap 的唯一合法方式。