将ClickOnce安装更新为全新的应用程序 [英] Update ClickOnce installation to a completely new application

查看:90
本文介绍了将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.


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

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