ClickOnce安装 [英] ClickOnce install

查看:80
本文介绍了ClickOnce安装的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在向C#4.0 WinForms应用程序添加新功能.该应用程序已经使用ClickOnce发布到Live中并使用证书进行了签名.

I've been adding new functionality to a C# 4.0 WinForms application. The application has already been published into Live using ClickOnce and signed with a certificate.

因此,我需要创建一个新的ClickOnce安装,以便升级以前安装的版本.但是有人告诉我不要使用证书对清单进行签名,因为证书即将到期.

So I need to create a new ClickOnce installation so it upgrades the previously installed version. But I've been told not to use the certificate to sign the manifest as the certificate is about to expire.

我遇到的问题是,它不会检测到已经安装了以前的版本,而是安装了新安装(因此该应用在添加或删除"程序中被列出两次).

The problem I've got is it doesn't detect that a previous version is already installed, and installs a new installation (so the app is listed twice in the Add or Remove programs).

我不知道这是因为我是在另一台PC上构建ClickOnce,还是因为我不再对清单进行签名但无法升级.有人可以告诉我从先前的ClickOnce安装升级到我的ClickOnce安装需要做什么吗?ClickOnce是否具有MSI所具有的产品代码?

I don't know if it's because I'm building the ClickOnce on a different PC, or because I'm no longer signing the manifest but it doesn't upgrade. Can someone please tell me what I need to do to make my ClickOnce install upgrade from a previous ClickOnce install? Does a ClickOnce have a Product code like an MSI has?

非常感谢

推荐答案

尝试了许多不同的方法之后,无法创建ClickOnce升级来将签名的ClickOnce安装升级为未签名的ClickOnce安装.

After trying lots of different ways, it's not possible to create a ClickOnce upgrade to upgrade a signed ClickOnce install with an unsigned ClickOnce install.

谢谢您对Jaycee的回复.

Thank you for your reply Jaycee.

这篇关于ClickOnce安装的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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