用于安装浏览器扩展的 Windows 安装程序
我正在尝试为 Windows(也可能是 Mac)创建一个安装程序,可以安装 chrome、firefox 和 IE 的浏览器扩展,但我完全陷入困境。我主要生活在网络开发领域,我什至不知道从哪里开始。该安装程序最终可能还会包含诸如 bing 工具栏之类的东西,以便在每次安装时向我们提供回扣。我希望不需要我们学习如何编写 Windows 安装程序,但如果这是不可避免的,我们可以使用哪些好的服务/应用程序?
任何帮助,将不胜感激。
I'm trying to create an installer for windows (and potentially mac) that can install a browser extension for chrome, firefox, and for IE, and I'm totally stuck. Primarily I live in web-development land and I don't even really know where to start. This installer might eventually also include something like a bing toolbar for a kickback to us on a per-install basis. I'm hoping for something that doesn't require us to learn how to author a windows installer, but if that is unavoidable what are some good services / apps we could use?
Any help, would be GREATLY appreciated.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
WiX 工具包和社区可能是开始使用 IE 的好地方。
我猜你正在想象类似 LastPass 安装程序的东西
The WiX toolkit and community may be a good place to start wrt IE.
I presume that you are imagining something like LastPass's installer
对于 Windows,您可能无法避免使用 Windows Installer,因此我建议您查看 Wix,这是 Microsoft 的一个开源工具集,用于生成安装程序,可以帮助您避免许多问题。
我没有安装浏览器插件的第一手经验,但我猜测安装插件与安装常规程序没有什么不同 - 您需要放置一堆文件并设置一些注册表项等。浏览器开发人员应该记录哪些注册表项等(并且您可能已经知道这一点,因为您已经完成了插件)。
不幸的是,当涉及到 Mac 时我无法为您提供帮助。
For Windows there is probably not much you can do to avoid using Windows Installer, therefore I recommend that you take a look at Wix, which is an open source toolset from Microsoft for generating installers that will shield you from a lot of problems.
I don't have any first hand experience with installing browser plugins but I am guessing that installing your plugins isn't all that different from installing a regular program - you need to place a bunch of files and set some registry keys and so on. What registry keys and so on should be documented by the browser developer (and you probably already know this since you have done your plugins).
Unfortunately, I cannot help you when it comes to the Mac.