How do I dictate the destination folder of a clickOnce application?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
This is not possible with ClickOnce. ClickOnce applications are always installed in the Apps
subdirectory of local application data.
回答2:
As a further to the above, this is a security feature. Allowing websites to install software to arbitrary locations on someone's harddrive somewhat automatically is a bad idea.
回答3:
One Click application directly installs into the user profile directory. There is no way you can install it to your Programme files. To customize the your application use Installaware Admin http://www.installaware.com/studio-admin-features.htm