将ClickOnce安装更新为全新的应用程序

问题描述:

我正在使用ClickOnce升级安装在多个站点上的未签名Winforms应用程序。新应用程序具有不同的名称,将安装到不同的URL并进行数字签名。



我知道我可以使用这种技术,但也可以更改应用程序名称?理想情况下,我想卸载旧的应用程序并将全新的,重命名的和签名的应用程序无缝地安装到用户。



我尝试过使用MageUI但是一直出错当我选择OldApplication.exe.manifest时,应用程序清单未签名,所以我不知道我是否在正确的轨道上。

I am in the process of upgrading an unsigned Winforms application installed on a number of sites using ClickOnce. The new application has a different name and is going to be installed to a different URL and digitally signed.

I know that I can change the installation URL path using this technique, but is it also possible to change the application name? Ideally I would like to uninstall the old application and install the completely new, renamed and signed application seamlessly to the users.

I have tried using MageUI but keep getting an error "The application manifest is not signed" when I choose OldApplication.exe.manifest so I don't know if I am on the right track here.

是的,在您的项目设置下只需更改产品名称等,clickonce将完成剩下的工作。我知道的答案并不多,但是我每天要做2-3次(长篇故事),这真的很简单。





具体而言,更改(在装配信息下:

产品和标题。
Yes, under your project settings just change the product name etc, clickonce will do the rest. Not much of an answer I know, but I do what your asking 2-3 times a day(long story), and it's really that simple.


To be specific, change(under Assembly Information:
Product, and Title.