Setup Factory 10

UninstallData.RemoveItem

UninstallData.RemoveItem

This is the first topic This is the last topic  

UninstallData.RemoveItem

This is the first topic This is the last topic  

OverviewExamples

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


Learn More: Indigo Rose Software - Setup Factory - Buy Now - Contact Us