如何为我的 DirectShow 过滤器制作安装程序?
我多年来一直在编写 Windows 程序和 DLL,但从未创建过安装程序。如何为我编写的少量 DirectShow 过滤器创建轻量级安装程序?
安装程序需要将过滤器二进制文件提取到程序文件中的某个位置,然后注册它们。它还需要提供有效的卸载。很简单,但我不知道从哪里开始。
我使用的是 Visual Studio 2010,我的代码是 C++。
I have been writing Windows programs and DLLs for years but have never created an installer. How can I create a lightweight installer for a handful of DirectShow filters that I have written?
The installer needs extract the filter binaries to somewhere in Program Files and then register them. It also needs to offer an effective uninstall. Pretty simple but I have no idea where to start.
I am using Visual Studio 2010 and my code is C++.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
就我个人而言,我喜欢innosetup,没有将它用于directshow,但我已经用它来安装和启动服务。它当然可以进行注册表操作。
另请参阅如何注册 DirectShow 筛选器
Personally I like innosetup, haven't used it for directshow but I have used it to install and start services. It can certainly do registry operations.
See also How to Register DirectShow Filters
您可以尝试使用 Visual Studio 安装项目。它非常有限,但它支持您需要做的事情。
另一个免费的替代方案是 WiX。它的学习曲线很陡峭,但它可以完成工作。
Visual Studio 和 WiX 都使用 Windows Installer。因此,您将拥有完整的 Windows 集成和产品管理(修改、修复和删除)。
You can try using a Visual Studio setup project. It's very limited, but it supports what you need to do.
Another free alternative is WiX. It has a steep learning curve, but it gets the job done.
Both Visual Studio and WiX use Windows Installer. So you will have full Windows integration and product management (modify, repair and remove).