如何将数字证书添加到 SingleImage Install Shield 安装程序 [英] How to Add a Digital Certificate to a SingleImage Install Shield Installation Program

查看:17
本文介绍了如何将数字证书添加到 SingleImage Install Shield 安装程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个使用 Visual Studio 2012 中的 Install Shield 受限版本创建的安装程序.

I have an installation program created using the limited version of Install Shield within Visual Studio 2012.

我有一个想要添加到安装程序的数字证书.

I have a digital certificate that I want to add to the installation program.

我想使用 Install Shield 的 SingleImage 功能来创建单个安装文件(例如 setup.exe)并将其交付给我的客户.然而,似乎我必须将数字证书附加到一个 msi 文件中,该文件由 Install Shield 嵌入在 setup.exe 中.

I'd like to use the SingleImage feature of Install Shield to create and deliver a single installation file (e.g. setup.exe) to my customers. It seems, however, that I must attach the digital certificate to an msi file, which is embedded within setup.exe, by Install Shield.

我发现在 setup.exe 上放置数字证书会导致在运行安装程序时告诉用户发布者未知.换句话说,就是没有正确部署数字证书.

I have found that placing the digital certificate on setup.exe results in telling the user that the publisher is unknown, when running the installation program. If other words, that does not properly deploy the digital certificate.

我可以访问 msi 文件以将数字证书添加到其中吗?如果是这样,怎么做?

Can I get access to the msi file to add the digital certificate to it? If so, how?

推荐答案

我要回答我自己的问题.自从发布我的问题后,我发现 Visual Studio 2012 中的 Install Shield 限量版可以设置为对安装程序进行签名(如果您有适当的数字证书).

I going to answer my own question. Since posting my question I found that the limited edition of Install Shield in Visual Studio 2012 can be setup to sign the installation program (if you have a proper digital certificate).

这位于:Builds/Express/SingleImage.有一个名为签名"的选项卡.输入数字证书文件的路径/文件名、证书密码,并指定要签名的输出文件.Install Shield 然后在构建时对安装程序进行签名.

This is found under: Builds/Express/SingleImage. There is a tab named "Signing". Enter the path/filename for the Digital Certificate File, the Certificate Password, and specify which output files you want to sign. Install Shield then signs the installation program upon a build.

对于过早提出这个问题,我深表歉意.我应该先做更多的研究.

My apologies for asking this question too soon. I should have done more research first.

这篇关于如何将数字证书添加到 SingleImage Install Shield 安装程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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