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

查看:128
本文介绍了如何将数字证书添加到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)。但是,似乎必须通过Install Shield将数字证书附加到安装在setup.exe中的msi文件中。

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天全站免登陆