Question

The Izpack uninstaller deletes the installation but not the user folder (and data) I create when the application first runs.

Is there a way to modify the installer to do this ? Should I even being doing this, i.e if they are uninstalling the application because they no longer want to use it I should, but if they are just uninstalling the application because they want to install the latest version and they like to uninstall older versions first before doing that I should not remove their user data.

EDIT Should have said Im using Izpack 5beta 11 rather than Izpack 4.3.5

OTHER TIPS

It is possible to define custom actions on installation and uninstallation time.

This actions can also be defined using Ant tasks, see http://izpack.org/documentation/custom-actions.html#ant-actions-installerlistener-and-uninstallerlistener

You especially may find this one useful:

<uninstall_target>: target to call on uninstallation
Targets to perform with this antcall at uninstallation time. The targets should be defined in the given buildfile otherwise an ant exception will be raised. With this target it will be possible to undo the things done at installation time.
name: required. The name of the uninstall target.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top