如何使用安装程序安装Access数据库 [英] how to install the Access database with setup

查看:140
本文介绍了如何使用安装程序安装Access数据库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,



我已经构建了一个想要访问Excel页面的应用程序,只有在机器中安装了Access数据库引擎时它才能正常运行,现在问题是如何在不在其他计算机上安装Access数据库引擎的情况下使应用程序正常工作,或者如何使其作为依赖项安装而无需单独安装但自动安装。我使用1次点击设置来开发设置。



我尝试使用安装程序,但安装后没有引发事件,有人可以帮我这个。< br $>


问候,

Sagar

Hi All,

I have built an application which wants to access Excel page, it works fine only if Access Database Engine is installed in machine, Now the question is How can I make the application work properly without installing Access Database Engine in other machine or how to make it to install as dependency without installing seperatly but gets installed automatically. I am using 1 click setup to develop the Setup.

I tried with installer but the event is not raised after installation, can some one please help me with this.

Regards,
Sagar

推荐答案

关注:为ClickOnce应用程序添加自己的(自定义)先决条件 [ ^ ]



另请看另一个选项: http://geekswithblogs.net/MarkRosenberg/archive/2007/11/21/117026.aspx [ ^ ]



另一种选择:http://msdn.microsoft.com/en-us/library/8st7th1x.aspx [ ^ ]



Microsoft Access Database Engine 2010 Redistributable: http://www.microsoft.com/en-in/download /details.aspx?id=13255 [ ^ ]
Follow: Add your own (custom) prerequisite to "ClickOnce" application[^]

Also look at another option : http://geekswithblogs.net/MarkRosenberg/archive/2007/11/21/117026.aspx[^]

Another Option : http://msdn.microsoft.com/en-us/library/8st7th1x.aspx[^]

Microsoft Access Database Engine 2010 Redistributable : http://www.microsoft.com/en-in/download/details.aspx?id=13255[^]


此链接帮助我添加了先决条件 为ClickOnce应用程序添加自己的(自定义)先决条件 [ ^ ]







但问题m是即使Accessdatabase安装在系统中它要求重新安装。如果它先前安装在系统中,它不会提示用户安装Accessdatabase引擎
this link helped me a lot in adding PrerequisiteAdd your own (custom) prerequisite to "ClickOnce" application[^]



but the problem is that even though the Accessdatabase is installed in the system it ask for reinstallation. how can I over come it so that it doesnt prompt the user to install the Accessdatabase engine if its priorly installed in the system


这篇关于如何使用安装程序安装Access数据库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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