如何将 SQL Server 2008 R2 Express Advanced 和 With Tools 版本放入 Visual Studio 2008 作为 ClickOnce 先决条件

发布于 2024-09-03 13:58:56 字数 225 浏览 7 评论 0原文

就像我在主题中所说的:我想添加 SQL Server 2008 R2 Express 版本作为 Visual Studio 2008 中的应用程序的 ClickOnce 安装先决条件。我可以创建类似于 SQL Server 2008 Express 引导程序中的 package.xml 和 Product.xml ,我从 vs2010 获取,但我没有 SQLEXPRWT_x86_ENU.exe 的公钥。有谁知道如何找到这个公钥???

Like i said in the topic: I would like to add SQL Server 2008 R2 Express editions as ClickOnce installation prerequisites for my application in Visual Studio 2008. I can create package.xml and product.xml similar to those from SQL Server 2008 Express bootstrapper that I took from vs2010, but I don't have the public key for SQLEXPRWT_x86_ENU.exe. Does anyone know how to find this public key???

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

思慕 2024-09-10 13:58:56

回答帖子中的最后一个问题:如何查找 SQL Server Express 包的公钥。

公钥实际上包含在 SQL Server Express 安装程序本身中。要获得它,首先对包进行右键并选择属性。当出现属性窗口时,选择数字签名选项卡。它应该如下所示:

文件属性窗口的数字签名选项卡

接下来选择签名列表中的唯一签名< /strong> 并单击详细信息按钮。将出现数字签名详细信息窗口,如下所示:

数字签名详细信息窗口

在此窗口中单击查看证书按钮。当出现证书窗口时,选择详细信息选项卡,如下所示:

证书详细信息tab

我们就快到了!只需从列表中选择公钥属性,并将其值复制到package.xml文件中的正确属性,然后删除空格和换行符(复制到剪贴板时) ,公钥的格式与文本框中显示的格式相同)。

Answering the last question from the post: How to find the public key for a SQL Server Express package.

The public key is actually included in the SQL Server Express installer itself. To get to it start by right-clocking the package and selecting Properties. When the Properties window appears select the Digital Signatures tab. It should look like this:

Digital Signatures tab of file Properties window

Next select the only signature on the Signature list and click Details button. Digital Signature Details window will appear, looking like this:

Digital Signature Details window

On this window click View Certificate button. When the Certificate window appears select Details tab, like this:

Certificate Details tab

We're almost there! Just select Public Key property from the list and copy its value to the right attribute in the package.xml file and then remove spaces and line-breaks (when copied to the clipboard, the public key is formatted as it appears in the text box).

瀟灑尐姊 2024-09-10 13:58:56

我一直在与 SQLExpress 的产品团队负责人讨论他们在发布服务包或新版本时提供引导程序包。我已向他发送了一封电子邮件,要求提供新的引导程序包或您所请求的公钥信息。我预计会在 MSDN ClickOnce 论坛中经常看到这个问题,因此我希望他能提供帮助。我会回来报告的。只是想让您知道有人正在为您寻找答案。

I've been having a discussion with the product team lead for SQLExpress about them making bootstrapper packages available when service packs or new versions are released. I've sent him an e-mail asking for either a new bootstrapper package or the public key information you've requested. I expect to see this question a lot in the MSDN ClickOnce forum, so I'm hoping he'll help out. I'll report back. Just wanted to let you know someone was looking for an answer for you.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文