如何将 SQL Server 2008 R2 Express Advanced 和 With Tools 版本放入 Visual Studio 2008 作为 ClickOnce 先决条件
就像我在主题中所说的:我想添加 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
回答帖子中的最后一个问题:如何查找 SQL Server Express 包的公钥。
公钥实际上包含在 SQL Server Express 安装程序本身中。要获得它,首先对包进行右键并选择属性。当出现属性窗口时,选择数字签名选项卡。它应该如下所示:
接下来选择签名列表中的唯一签名< /strong> 并单击详细信息按钮。将出现数字签名详细信息窗口,如下所示:
在此窗口中单击查看证书按钮。当出现证书窗口时,选择详细信息选项卡,如下所示:
我们就快到了!只需从列表中选择公钥属性,并将其值复制到
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:
Next select the only signature on the Signature list and click Details button. Digital Signature Details window will appear, looking like this:
On this window click View Certificate button. When the Certificate window appears select Details tab, like this:
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).我一直在与 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.