RemoveFolders Action

[This is preliminary documentation and subject to change.]

The RemoveFolders action removes any folders linked to components set to be uninstalled or run from source. These folders are only removed if they are empty. If a folder is removed, it is unregistered with the appropriate component identifier.

Database Tables Queried

CreateFolder Table

Component Table

CreateFolder.Directory_ Folder name. For each folder, a property is assumed to exist with this name that defines the folder location.
Component.ComponentId Component ID for the component owning this folder.

Properties Used

Each folder name in the CreateFolder table is assumed to be a property defining the folder location.

Sequencing Restrictions

The RemoveFolders action must be executed after the RemoveFiles action or any action that may remove files from folders.