File Removal DialogCopy link to this sectionLink to this section copied!

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

Caution!This feature should not be used for System folders as it could lead to System corruption.

ImportantUsing this feature for folders containing a very large amount of data will increase the installation time accordingly.

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.

GeneralCopy link to this sectionLink to this section copied!

NameCopy link to this sectionLink to this section copied!

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

ComponentCopy link to this sectionLink to this section copied!

The component which will trigger the file removal operation.

Remove OnCopy link to this sectionLink to this section copied!

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

  • Component install
  • Component uninstall
  • Both

ConditionCopy link to this sectionLink to this section copied!

Specify a condition for the removal operation.

Remove empty foldersCopy link to this sectionLink to this section copied!

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

Remove non-empty foldersCopy link to this sectionLink to this section copied!

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.

Schedule Copy link to this sectionLink to this section copied!

Execute during package installationCopy link to this sectionLink to this section copied!

This default option executes the file removal operation during the package installation.

Execute upon system rebootCopy link to this sectionLink to this section copied!

This option will execute the file removal operation during the system reboot to ensure that files in use can be removed.