.NET 4.0 是否附带 Microsoft.Jet.OLEDB.4.0?
我想分发一个使用“Microsoft.Jet.OLEDB.4.0”和.NET 4.0 的应用程序。我已经找到了一种让安装程序在需要时下载 .NET 4.0 的方法。我只是想知道这是否会自动下载“Microsoft.Jet.OLEDB.4.0”,或者我是否还需要找到一种自行下载它的方法。如果是,我到底需要在用户计算机上下载并安装什么? (我正在使用 Inno Setup 来创建我的安装程序)。我不使用 ClickOnce,因为我想制作一个独立的 .exe。
I want to distribute an app that uses "Microsoft.Jet.OLEDB.4.0" and .NET 4.0. I already found a way for my installer to download .NET 4.0 if required. I just want to know if this will automatically download "Microsoft.Jet.OLEDB.4.0" or do I also need to figure out a way to download it by itself. If yes, what exactly do I need to download and install on the user machine? (I'm using Inno Setup to create my installer). I don't use ClickOnce because I want to make an standalone .exe.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
否,.NET 4.0 不附带 Microsoft.Jet.OLEDB.4.0
您可以从此处下载 Microsoft.Jet.OLEDB.4.0 安装程序:如何获取 Microsoft Jet 4.0 数据库引擎的最新服务包
No, .NET 4.0 does not come with Microsoft.Jet.OLEDB.4.0
You can download the Microsoft.Jet.OLEDB.4.0 installer from here: How to obtain the latest service pack for the Microsoft Jet 4.0 Database Engine
我不是 100% 相信这一点,但 OLEDB 应该单独设置。您可以从
下载安装程序http://www.microsoft.com/downloads/en/details.aspx?familyid=C06B8369-60DD-4B64-A44B-84B371EDE16D&displaylang=en
更新,如果您愿意要与您的安装程序捆绑在一起,那么您必须使用 WIX http://wix.sourceforge.net/ ,它是 XML 基础项目,您可能必须使用 Votive(VS.NET 插件) - http://wix .sourceforge.net/votive.html
/* WiX 脚本 */
有关 WiX 的更多信息和最佳入门位置,请访问 http://www.tramontana.co.hu/wix/
I'm not 100% of this but OLEDB should come in separate setup. You can download installer from
http://www.microsoft.com/downloads/en/details.aspx?familyid=C06B8369-60DD-4B64-A44B-84B371EDE16D&displaylang=en
Update, If you would like to bundle with your installer then you have to do with WIX http://wix.sourceforge.net/ , It is XML base project you may have to use the Votive (VS.NET Plug-In) - http://wix.sourceforge.net/votive.html
/* WiX Script */
For more info of WiX and best place to get start at http://www.tramontana.co.hu/wix/
您可能需要将此脚本用于您的 Inno Setup:
jet4sp8.iss:
我假设您知道如何处理该代码,所以我将让您自行解决!
祝你好运!
纳特奥。
You would want this script for your Inno Setup:
jet4sp8.iss:
I assume you know what to do with the code so I'll leave you to it!
Good Luck!
Nateeo.