Access 2007 Engine:如何将其包含在我的.msi安装程序中? [英] Access 2007 Engine: How do I include it in my .msi installer?

查看:66
本文介绍了Access 2007 Engine:如何将其包含在我的.msi安装程序中?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个.NET应用程序,它使用accdb文件(MS Access 2007格式)作为其数据库.要将此应用安装到另一台计算机上,我需要在该计算机上安装Access引擎. Microsoft具有以下文件:AccessDatabaseEngine.exe,其中包含引擎,但是在安装过程中解压缩后,将运行另一个.msi安装程序.

I have a .NET application which uses an accdb file (MS Access 2007 format) as its database. To install this app on another machine I need to install the Access engine on that machine. Microsoft has this file: AccessDatabaseEngine.exe which includes the engine, but when extracted during installation, runs another .msi installer.

您可能会猜到,由于此msi是在安装另一个msi(我的应用程序的安装程序)的过程中运行的,因此Access引擎安装失败,错误为1500:另一个安装正在进行中.请先完成该安装,然后再继续进行此安装... "

As you can guess, since this msi is run during the installation of another msi (my app's installer) the Access engine setup fails with error 1500: "Another installation is in progress. Finish that one before continuing this one..."

我也找到了Access 2007 Runtime,它确实安装了引擎,但是Runtime软件包还是msi安装程序,这意味着我仍然遇到同样的问题.

I found the Runtime for Access 2007 as well, and it does install the engine, but the Runtime package is again an msi installer which means I'm still having the same problem.

有什么想法可以将引擎包含在我的应用的安装程序中?

Any ideas to include the engine in my app's installer?

推荐答案

我找到了名为"Bootstrapper清单生成器"或BMG的软件.它有助于使用MSI或EXE安装程序文件创建必备软件包,并将其添加到安装和部署"项目中的"VS2008必备软件"对话框中.尽管不是那么用户友好,但它确实可以做到.它在MSDN上: code.msdn.microsoft.com/bmg

I found this software called "Bootstrapper Manifest Generator" or BMG. It helps create a prerequisite package using an MSI or EXE installer file, and adds it to VS2008 Prerequisites dialog box in Setup and Deployment projects. Although it's not that user friendly, it does the job. It's on MSDN: code.msdn.microsoft.com/bmg

认为最好使他人免于经历所有麻烦.

Thought it's good to save others from going through all the trouble.

这篇关于Access 2007 Engine:如何将其包含在我的.msi安装程序中?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆