1

is there any way for disabling the rollback (getting the previous version) in an clickonce installed application?

OrElse
  • 9,709
  • 39
  • 140
  • 253

1 Answers1

4

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.

Matt Hamilton
  • 200,371
  • 61
  • 386
  • 320