开发者

Install app to program files instead to user profile dir using ClickOnce

开发者 https://www.devze.com 2023-01-08 05:46 出处:网络
Can a WinForms exe be installed to program files instead of the user profile dir? I can have the app installed once in the program f开发者_如何学Ciles and later all updates should go in the same loca

Can a WinForms exe be installed to program files instead of the user profile dir?

I can have the app installed once in the program f开发者_如何学Ciles and later all updates should go in the same location.


The following thread should answer your question.

How to control the location of ClickOnce installation?

ClickOnce applications are installed per user in the user application cache. These applications are managed by the ClickOnce service. If you want to install to a user specified location such as C:\Program files\ ... you should use MSI or some other installer technology.

More about ClickOnce on MSDN:

ClickOnce Deployment Overview (See the ClickOnce and Windows Installer Comparison Table)

0

精彩评论

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