Question

Can I delete a file or directory as part of my application installation?

Can I delete a file or directory as part of my application installation?

Answer:

Yes. You can delete a file or directory as part of your application installation using a '<deletefile>' action as in the following example:

<deleteFile>
  <path>/tmp/mytempfiles*.*</path>
</deleteFile>