See: How to Silently update a Windows Service. As far as the forcing the user to update before they can continue using your app -- that's all in your code. You decide that.
Please tell me how to update a windows service with the user having no choice but to install(forced update). I am making a licensing windows service that I would like to be able to update it and do it without the user declining the update because I just do not want them to decline to install a update of the windows service because they know that more advanced drm has been put into the windows service and therefore would stop them from using pirated copies of my software. I basically want to force the update of the windows service so that the user has no choice but to let it install the update and they couldn't do anything to avoid the update from being installed. Is this possible?Because I would really like to be able to update my windows service which is my licensing service so that the user has no choice but to install the update and no way to avoid it.If this is possible please tell me how to do it and would I use the automatic updater control or by calling wyupdate by command line.Thank you for any help you can provide.
See: How to Silently update a Windows Service. As far as the forcing the user to update before they can continue using your app -- that's all in your code. You decide that.
See: How to Silently update a Windows Service. As far as the forcing the user to update before they can continue using your app -- that's all in your code. You decide that.
How would I force the user to update?Can you give me a code example on how to do it?
You check for updates (see our help articles on how to do that). Then, if there's an update available, don't let the user use your app until they install the update.
That's all there is to it. Check for updates, and if there's an update force the user to install it.
Forgive me for reviving this old thread but I have to ask I currently use NetSparkle as a update solution as it was open source and I modified it to force updates like for example whenever the application started and it found a update it skipped straight to the chase and started downloading and installing the update without any choice by the user to cancel or stop it. and I can give you the code to show you how I modified it to support this but my question is how can I replicate that in wybuild & wyupdate and the automatic update control?As I plan using the automatic updater control in my app as I currently just rewrote it to use a sub main class for its entry point instead of the "application framework" handling it. and was wondering how would I implement this? as I love wyupdate & wybuild as it is simple and well my current netsparkle custom build basically downloads and runs my custom sharpsetup installer with the silent flag I built into it displaying a update status dialog and then netsparkle then stops the installer when it is done and runs the app back. but I guess I am asking mainly is there anyway to do this with wybuild? as I would like to use wybuild instead of netsparkle mainly because it has already been paid for and is just sitting around waiting for me to figure out a way to implement how I have it setup with netsparkle in it.and plus starting and stopping my new licensing service made custom by me is easier setting it in wybuild then trying to code that into netsparkle or sharpsetup.
but I guess I am asking if there is anyway to have it like I currently set it up in netsparkle in wybuild?as I wanted to give you the backstory above to help you understand how I currently have it setup.
I don't really know what you're asking (or to explain how to force updates beyond how I've already explained it). The best place to start is here: http://wyday.com/wybuild/help/walkthrough.php
Is there something that's confusing you?