Geeks With Blogs
Daniel Schroeder Sharing my tips and tricks to help other developers be more productive. This blog has moved to http://blog.danskingdom.com

A while ago I blogged about a powershell script I made that would automatically update your ClickOnce project file’s Minimum Required Version to the latest version of your application so that users would not be presented with the “There is an update for this application. Do you want to install it?” prompt; instead the application would just automatically download and install the update.  This is nice because it’s one less prompt the end-user has to see, and from a security standpoint it means that your users will be forced to always use the latest version of the app.

There was a bit of setup to get this to work.  You had to make sure the powershell script was in the proper directory and add a post-build event to your project.  I’m happy to announce that I’ve significantly updated the powershell script with more features and bug fixes, and you can now install it from Nuget, which will handle all of the setup for you.  So now making sure that your end-users are always using the latest version of your application is as easy as…

Read more at http://blog.danskingdom.com/force-your-clickonce-app-to-update-without-prompting-user-now-on-nuget/

Posted on Friday, March 8, 2013 2:29 PM | Back to top


Comments on this post: Force your ClickOnce app to update without prompting user – Now on NuGet!

# re: Force your ClickOnce app to update without prompting user – Now on NuGet!
Requesting Gravatar...
Hi Daniel Schroeder Sir,

This is really great post. You explained everything i needed. This will definitely help me. Thanks for the post with some good advice. I’d like to add to it from my experience: http://indiavisitonline.in/package/kullu-manali-honeymoon-ahmedabad
Left by Hariprakash chaudhary on Jul 21, 2015 3:06 AM

# re: Force your ClickOnce app to update without prompting user – Now on NuGet!
Requesting Gravatar...
I updated my ClickOnce applcation and then when the user runs they are asked if they want to install the new version:

I need some way to stop them from running an old version of the applcation.

Any ideas?

http://khelomcx.com/
Left by Sadullah Somi on Aug 20, 2015 6:39 AM

# re: Force your ClickOnce app to update without prompting user – Now on NuGet!
Requesting Gravatar...
Thanks for this info. Keep up the neat work. I'll be returning often thanks for sharing...

game of thrones season 6 episode 2 stream online
Left by ayushi on Apr 06, 2016 5:56 AM

Your comment:
 (will show your gravatar)


Copyright © deadlydog | Powered by: GeeksWithBlogs.net