How do I manually populate the RemoveFile table without using Installation Expert?
Removing an existing file during an installation through the RemoveFile table:
During an installation, you might want to remove existing files from the destination computer. This article outlines the steps to populate the RemoveFile table manually. This can also be done through the GUI interface in Installation Expert's Files page, by selecting the Operation button then the Remove File option.
To manually add a component, create a property to hold the location to find the file and populate the RemoveFile table follow the steps below:
Create a component:
Create a property to hold the path to the file:
Populate the RemoveFile table:
Note: Windows Installer will not delete a folder if files are in the folder. To first remove the files then the folder, you will need to add two entries following the steps above and populating the FileName field as shown below: