Uninstalling a Previous Version from an MSI

30
Jul
0

It was absurdly hard to figure out how to auto-uninstall a Previous Version from an MSI, so I’m just adding a link here in the hope that it will help the world find that link easier.

Basically:

  • In the Setup project properties, there’s a property “Version” (probably 1.0.0)
  • change it to any value e.g. 1.0.1 (do note the 3-part, in assemblies, versions are 4-part)
  • Now it will ask to change product code automatically - just click “yes”
  • Build the new relase & install it.
  • The previous verison will get uninstalled first.

Filed under: Programming
No Comments

No Comments

No comments yet.

Leave a comment

RSS feed for comments on this post