File Removal Dialog

In this dialog you can customize a file removal operation. Such operations will be presented with File Removal icon.

File Removal Dialog

ImportantBy default Windows Installer will remove only the resources that were installed by the MSI package. This removal operation is intended to be used for external resources created by custom behaviour.

Name

The name of the file to be removed. Use wildcard patterns for removing multiple files. You can localize this value.

Component

The component which will trigger the file removal operation.

Remove On

The time when the removal will be executed. There are three available moments:

  • component install
  • component uninstall
  • both

Condition

Specify a condition for the removal operation.

Remove empty folders

Enable the removal of empty folder that match the specified name.

Remove non empty folders

Enable the removal of non empty folder that match the specified name.

You can specify a whole folder to be removed upon install or uninstall from the Folder Operations Tab.

TipThe removal operation is extremely useful when the installed resources are modified post install and would not be removed otherwise.