ClickOnce frequency check. Windows Services
I need to experiment with windows service's click once reaction. But in publish tab in visual s开发者_如何学Gotudio I see 1 hour as the most frequent option check. I can't wait so long in order to test click once. I also would like my end users to control this value. Second question. I have n install project that will install about 4 services. However I can't seem to figure out a way to ClickOnce it, I just see how to ClickOnce every single service separately. It is critical to install services in a given order, which install package takes care of (and by the way manually writes some registry values - will that be a problem with ClickOnce?), but will ClickOnce do that (anyway I don't see a way to bundle them up)
You can't use ClickOnce to install a Windows Service. It doesn't have the privileges required. ClickOnce is designed for desktop applications (WinForms/WPF) and console applications. ClickOnce apps install under the user's profile, not as a system account.
If you want to test for updates more frequently, abandon automatic updates and use programmatic updates instead. Then you can check as frequently as you like.
精彩评论