UninstallData.RemoveItem

UninstallData.RemoveItem ( 

number ItemType,

string Identifier )

Example 1

UninstallData.RemoveItem(UNINDATA_SUPPORTFILES, sFilename);

Removes the support file referenced in the value "sFilename" from the uninstall configuration file.

Example 2

tResults = UninstallData.GetItemList(UNINDATA_SCRIPTS);

for nIndex, sIdentifier in pairs(tResults) do
    UninstallData.RemoveItem(UNINDATA_SCRIPTS, sIdentifier);
end

Removes all items from the 'scripts' section of the uninstall configuration file.

See also:  Related Actions