开发者

ClickOnce: Update Custom Folder

I am making an ClickOnce Installation setup. I have to keep a custom folder in system folder, that has certain DLLs that are used by application at run time. So, I made a separate installer for these DLLs and created a Custom Boot Strapper that I use as a pre-requisite in ClickOnce installer.

What I need is, when Application updates itself using Clickonce, it should also update that custom folder in System folder.

Is there any way to accomplish this, i.e to tell clickonce to update that c开发者_如何学运维ustom folder also ???


No. ClickOnce can't update files outside of your user profile.

You can have ClickOnce download the latest version of your system dlls, but copying them to the system directory would have to be done with your own code after your application starts, assuming the dlls aren't already in use and can't be overwritten.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜