Reputation: 9959
is there any way for disabling the rollback (getting the previous version) in an clickonce installed application?
Upvotes: 1
Views: 528
Reputation: 204129
Open your project's properties, switch to the Publish
tab and click the Updates
button. The dialog that pops up has a section for a "minimum required version for this application", which lets you enforce that a user upgrade to a specific version.
Once you've set that, users shouldn't be able to roll back to a previous version. They'll also be forced to upgrade if they're running a version older than the minimum.
Note that I haven't tried this, but it's my understanding of the "minimum version" feature.
Upvotes: 4