开发者

How to make changes to the C: directory via ClickOnce deployment?

I intend to add files in the C: of a client machine that checks for updates via ClickOnce Deployment .. If it is possible , I would li开发者_如何学编程ke to know how to do it .


It is not possible, because the C:\ root folder in Windows does not grant write permissions to standard users by default (it's been this way since Windows 2000) and a big purpose of ClickOnce is for IT departments to allow end users to install and update clickonce apps without having to grant them additional security permissions on their local machines.

Anyway, keeping files in this location is a really poor practice. There's no good reason to need to do this; much better to put this kind of thing in places like the user's App Data folder or the default/public documents folder.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜