I need to write an upgrade tool for a simple java application. It should work on an existing installation directory, and update property and binary files. It should not ruin the existing directory to allow "undo" in case it fails while in process.
I'm thinking of the general following algorithm:
Is there a known pattern or free-ish 3rd party packages to do upgrades in Java? I don't want/need an expensive installer product.
You're pretty spot-on with your idea of how to do an upgrade. Since the upgrade process is unique to your application, third party libraries and whatnot probably won't be too useful. I'd recommend just writing your own upgrade methods.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With