deb and rpm uninstall: remaining directories



  • Avatar

    Which directories are not deleted? If you are positive at the end of the uninstallation that they should be deleted, you could use the below code:

            <deleteFile path="${installdir}/logs"/>
            <deleteFile path="${installdir}/temp"/>
            <deleteFile path="${installdir}"/>

    Please note that it just tries to delete ${installdr} if it is empty. That prevents issues if for example the user selected / as installdir by mistake.

  • Avatar
    Kai Heitkamp

    deb: ${installdir} (../MyApp), all subdirs are deleted.

    rpm: All dirs are not deleted, files only.

    Strange is that the normal InstallBuilder uninstaller works fine!

Please sign in to leave a comment.