开发者

Any way to be able to install the same ClickOnce app from two different locations?

We build the application once, and then deploy it to multiple sites. I can install it from any of the deployed servers, but I cannot have it installed from 开发者_StackOverflow中文版multiple at the same time. I understand that this is a limitation of ClickOnce. Is there any way to trick ClickOnce into allowing this to work? Or any site-specific post-processing that I can do to the assemblies? I doubt the latter since the ClickOnce manifests were signed at compilation.


There is code snippet available at http://geekswithblogs.net/thibbard/articles/70844.aspx which achieves manual Clickonce deployment and management. You can change the code as per your convenience. Manual updating gives control to developer to update Clickonce deployment at will.


No, you can't do this. The reason is that the installation URL is part of the identity of the deployment, and is included in the security features. This ensures that someone doesn't hijack your application and have your users install their updates instead of yours, and install malware.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜