Customizing an AntInstaller Package
If you decide to use AntInstaller for one of your products, an easy way to do this is by copying and modifying one of the examples included with the package.
One thing to watch out for is the folder structure. Some of the script items assume that the scripts run inside the installed directory. The latter might not be the case in a real-world installer.
The examples that come bundled with the distribution include many clever techniques for things such as the following:
- Checking property values
- Running on multiple targets
- Installing release notes
- Running operating system-specific commands
I’ve been able to use AntInstaller to do everything I needed for my own installer efforts. So I recommend it.