自动化ClickOnce部署与安全性(证书等),使得客户端安装应用程序,没有任何提示没有任何、应用程序、安全性、客户端

2023-09-07 00:48:04 作者:辣条总统

我刚才读的 配置的ClickOnce信任的发布者 ,得到它运行在网络上的另一台计算机。我部署在网络本身的应用程序(即 \\\ ABC \东西)。

虽然我找不到certmgr.exe作为系统核心组件的一部分,因为文章说(..所以你需要使用证书管理控制台(certmgr.exe)包含在Windows ..),我却发现它在C:\ Program Files文件\微软的SDK \的Windows \ v6.0A \ bin中。它工作得很好,但我错过了什么?我的意思是,如果用户没有安装的Visual Studio是什么?

现在,我不得不的明确的去把这个东西做的(即进口使用certmgr.exe证书)网络上的用户/客户端的计算机上。有没有办法来的自动化的呢?当我明确做什么,当用户点击 SETUP.EXE 在部署的应用程序在网络上( \\\ ABC \东西)时,他/她可以没有得到基于安全性的提示安装相同。

我检查了自举,但我无法确切地知道如何使用它,在这里?我想在它的适当位置粘贴证书(认为进口使用 certmgr.exe 证书粘贴某处在磁盘上?在某些个人目录)?

在精神,我想自动在这里用户可以安装从网络( \\\ ABC \东西)的应用程序,而不安全的进程/信任提示。而我作为一个开发者需要 不显式的导入在他/她的/用户/客户的计算机的证书。

解决方案   

CERTMGR是一个MMC管理单元,而不是一个EXE

常熟创新自动化 坚持发展特色名牌 争做行业龙头

没有,这些其实都是两(略)不同的工具。

在Windows和NBSP; 7专业版, certmgr.msc 默认情况下安装到 System32下。这是一个纯粹的GUI MMC 并不能照本宣科。

certmgr.exe 可以在命令行上使用,并配备了的 Windows 7的SDK 必须单独下载和安装。但我想.exe文件将工作在任何Windows  7机,即使没有安装其他的SDK工具

I just read Configuring ClickOnce Trusted Publishers and got it running at another computer on network. I deployed the application on network itself (that is, \\\abc\something).

Though I could not find certmgr.exe as part of Windows core component, as the article says (..so you will need to use the certificate management console (certmgr.exe) included in Windows..), I instead found it at "C:\Program Files\Microsoft SDKs\Windows\v6.0A\bin". It worked fine, but did I miss something? I mean, what if the user did not have Visual Studio installed?

Now, I had to explicitly go and get this thing done (that is, importing the certificate using certmgr.exe) on the user/client's computer on the network. Is there a way to automate it? Where I do nothing explicitly and when the user clicks setup.exe in the deployed application on the network (\\\abc\something), he/she can install the same without getting security-based prompts.

I checked out BOOTSTRAP, but I could not exactly understand how to use it, HERE? I thought of pasting the certificate at its appropriate location (thought that importing the certificate using certmgr.exe pastes it somewhere on the disk? In some "personal" directory)?

In gist, I want to automate the process where user can install the application from network (\\\abc\something) without security/trust prompts. And I as a developer need not explicitly import the certificate in his/her/user/client's computer.

解决方案

CERTMGR is an MMC snapin, not an EXE

No, these are in fact two (slightly) different tools.

On Windows 7 Professional, certmgr.msc is installed by default into System32. It is a pure GUI MMC and cannot be scripted.

certmgr.exe can be used on the command line and is provided with the Windows 7 SDK which must be downloaded and installed separately. But I suppose the .exe would work on any Windows 7 machine, even without the other SDK tools installed.

 
精彩推荐
图片推荐