The RemoveDuplicateFiles action deletes files installed by the DuplicateFiles action.
Sequence Restrictions
The RemoveDuplicateFiles action must occur after the InstallValidate action and before the InstallFiles action.
ActionData Messages
| Field | Description of action data |
|---|---|
| [1] | Identifier of removed file. |
| [9] | Identifier of directory holding removed file. |
Remarks
To delete a file duplicated with the DuplicateFiles action using the RemoveDuplicateFiles action, the component associated with the file's entry in the DuplicateFile table must be selected for removal.
Use the DestFolder column of the DuplicateFile table to specify the property name whose value identifies the destination folder.
Source: Microsoft Learn / Windows Win32 documentation by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.
