如何在未安装 Office 2010 的计算机上安装带有 MS Access 数据库的 Visual Studio 2010 安装项目? [英] How to install visual studio 2010 setup project with MS Access database on a computer which is not having Office 2010 installed?

查看:22
本文介绍了如何在未安装 Office 2010 的计算机上安装带有 MS Access 数据库的 Visual Studio 2010 安装项目?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在用 C# 开发 wpf 应用程序.我已经在 Visual Studio 2010 中成功创建了 wpf 应用程序的安装项目.我使用 MS Access 2010 作为数据库.它可以在所有计算机上正常安装.但是在某些计算机上没有安装 Microsoft Office,而在某些计算机上有较低版本的 MS Office,如 MS Office 2003.当我在这些计算机上安装我的应用程序时,它给我带来了连接问题.你能告诉我我需要做什么吗?我是否需要在 Visual Studio 2010 安装项目中包含 MS Access 2010 的任何先决条件?如果有的话,它们是什么以及如何包含它们?

I am developing wpf application in C#. I have successfully created the setup project for wpf application in visual studio 2010. I have used MS Access 2010 as a database. It install fine on all computers. But on some computer there is no Microsoft Office installed and on some computer there is lower version of MS Office like MS Office 2003. When I install my application on these computers it gives me connectivity issues. Can you please tell me what should I need to do ? Should I need to include any prerequisite for MS Access 2010 in visual studio 2010 setup project ? If there is any which are they and how to include them ?

推荐答案

你可能能够使用Microsoft Access 数据库引擎 2010 可再发行版

-- 更新 --
要添加自定义先决条件,您需要创建 Bootstrapper 包,这里有一些说明:创建引导程序包
使用 Bootstrapper Manifest Generator 部署定制的 Visual Studio 先决条件

-- 更新 2 --
对于 64 位实现,请参阅下面来自 Massood Khaari 的评论.

-- Update 2 --
For 64-bit implementations see comment from Massood Khaari below.

这篇关于如何在未安装 Office 2010 的计算机上安装带有 MS Access 数据库的 Visual Studio 2010 安装项目?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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