新的Access数据库引擎2010的Clickonce部署 [英] Clickonce deployment of the new Access Database Engine 2010

查看:82
本文介绍了新的Access数据库引擎2010的Clickonce部署的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

首先.请原谅我这个冗长的问题.

我已经开发了一个C#Winforms应用程序.必须已部署ClickOnce.目标计算机可以是XP,Vista或Win7,并且可以是x86或x64版本.该数据库是一个外部.mdb,数据层最初使用的是Microsoft.Jet.OLEDB.4.0提供程序.此外,该解决方案还包含Crystal Reports.部署到64位计算机时出现问题.虽然Crystal Reports引导程序清单包含确定用于安装Crystal的x86组件或x64组件的正确元素,并且确实安装正确,但Jet引擎是另一回事. Jet.OLEDB.4.0不支持64位系统,因此在64位计算机上的数据访问失败.

我看到Microsoft已发布了具有64位支持的Access数据库引擎的新版本.安装程序是AccessDatabaseEngine.exe(x86)和AccessDatabaseEngine_X64.exe(x64),它们必须安装在目标计算机上. x64版本将仅安装在64位系统上.

我已经对解决方案进行了更改,以使使用的数据提供程序是新的Microsoft.ACE.OLEDB.12.0,出于我的目的,它取代了Microsoft.Jet.OLEDB.4.0提供程序.

因此,我需要将Access数据库引擎的较新版本作为发布先决条件.

问题:

我需要生成一个Bootstrapper清单还是Microsoft在某个地方提供了一个清单?

其次,如果必须生成Bootstrapper清单,如何找到必要的信息?即:
每个AccessDataBaseEngine.exe和AccessDatabaseEngine_x64.exe的公钥,
每个等的InstallConditions

非常感谢您提供任何有用的意见或建议.

dragoguzzi

Firstly. please forgive me for this lengthy question.

I have developed a C# Winforms app. which must be ClickOnce-deployed. The target machines can be XP, Vista, or Win7, and they can be of x86 or x64 flavors. The database is an external .mdb and the data layer originally was using the Microsoft.Jet.OLEDB.4.0 provider. Additionally, the solution contains Crystal Reports. A problem arose when deploying to 64-bit machines. While the Crystal Reports bootstrapper manifest contains the proper elements to decide whether to install the x86 or the x64 components for Crystal, and does install correctly, the Jet engine is another story. Jet.OLEDB.4.0 does not support 64-bit systems and therefore data access on 64-bit machine fails.

I see that Microsoft has released new versions of the Access Database Engine with 64-bit support. The installers are AccessDatabaseEngine.exe (x86) and AccessDatabaseEngine_X64.exe (x64), which must be installed on the target machine. The x64 version will only install on a 64-bit system.

I have made the changes to my solution so that the data provider used is the new Microsoft.ACE.OLEDB.12.0 which for my purposes supersedes the Microsoft.Jet.OLEDB.4.0 provider.

So, I need to include the newer version of the Access Database Engine as a Publish Prerequisite.

The questions:

Do I need to generate a Bootstrapper Manifest or has Microsoft provided one somewhere?

Secondly, if I must generate a Bootstrapper Manifest, how do I find out the requisite information? Namely:
PublicKey for each, AccessDataBaseEngine.exe and AccessDatabaseEngine_x64.exe,
InstallConditions for each, etc.

Thanks so much for any useful comments or suggestions.

dragoguzzi

推荐答案

AccessDatabaseEngine.exe或AccessDatabaseEngine_x64.exe的安装不仅取决于32位或64位计算机,还取决于最终安装的Office 32或64位.

我在完整的Bootstraper软件包中搜索AccessDatabaseEngine2010.

是否可以通过Microsoft或其他地方找到用于AccessDatabaseEngine2010的Bootstraper软件包?
The Installation of AccessDatabaseEngine.exe or AccessDatabaseEngine_x64.exe depends not only from the 32-Bit or 64-Bit machine, but also from eventual installed Office 32 or 64 Bit.

I search a complete Bootstraper Package for AccessDatabaseEngine2010.

Is it possible to find a Bootstraper Package for AccessDatabaseEngine2010 by Microsoft or elsewhere?


我的问题:

我需要生成一个Bootstrapper清单还是Microsoft在某个地方提供了一个清单?

其次,如果必须生成Bootstrapper清单,如何找到必要的信息?即:
每个的PublicKey,AccessDataBaseEngine.exe和AccessDatabaseEngine_x64.exe,
每个等的InstallConditions

非常感谢您提供任何有用的意见或建议
My Question:

Do I need to generate a Bootstrapper Manifest or has Microsoft provided one somewhere?

Secondly, if I must generate a Bootstrapper Manifest, how do I find out the requisite information? Namely:
PublicKey for each, AccessDataBaseEngine.exe and AccessDatabaseEngine_x64.exe,
InstallConditions for each, etc.

Thanks so much for any useful comments or suggestions


这篇关于新的Access数据库引擎2010的Clickonce部署的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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