Delete files (this is different)?

Answered

Comments

1 comment

  • Avatar
    wojciechka

    The <deleteFile> action can be used to delete an entire directory recursively. If the directory is under new installation directory, you can just delete it in <readyToInstallActionList> - for example:

    <readyToInstallActionList> <deleteFile> <path>${installdir}/MyProgram.app</path> <ruleList> <fileExists> <path>${installdir}/MyProgram.app</path> </fileExists> </ruleList> </deleteFile> </readyToInstallActionList>

Please sign in to leave a comment.