Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

Custom Action


3 replies to this topic

TAL

TAL
  • Members
  • 77 posts

Posted 22 April 2001 - 08:10

Hi,

How can i delete files that are not being deleted after Remove. i have some files that are being created after the installation finished. and when i'm uninstalling it, the files remains there. how can i erase them?...
also, i have a custom action that runs an exe file. the exe creates a reg key. how can i delete the reg key?.

Thanks.


Leigh Ravenhall

Leigh Ravenhall
  • Members
  • 269 posts

Posted 22 April 2001 - 23:35

Files can be manually deleted from script by calling DeleteFile.  Registry keys can be removed with RegDBDeleteKey.

Ian Blake

Ian Blake
  • Members
  • 483 posts

Posted 23 April 2001 - 10:21

Take a look at the RemoveFile Table to remove extra files. In ISWI this table is avaiable under the power editor

For the registry keys create a registry value in the reqistry table with the name '-' which means remove this key when uninstalling.  You can do this from the registry window of install shield.