File Removal Dialog

In this dialog, you can customize a file removal operation. Such operations will be presented by the 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 behavior.


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


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


Specify a condition for the removal operation.

Remove empty folders

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

Remove non-empty folders

Enable the removal of non-empty folders 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.