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

RemoveFile


1 reply to this topic

dcleous

dcleous
  • Members
  • 38 posts

Posted 11 October 2003 - 22:15

I have a problem..which I guess is quite common.
My app creates some log fles and some data files during the runtime...and I need to get rid of those during the uninstall..
I tried looking into "RemoveFile"..but it's not clear..

I have to delete all the directories(empt or not)..and all the files..
How can I do that?

Leo

Glytzhkof

Glytzhkof
  • Moderators
  • 1,447 posts

Posted 12 October 2003 - 01:30

One way would be to create an Installscript action to delete the files / folders and then schedule this script to run as a custom action towards the end of the InstallExecute sequence with the condition set to REMOVE = "ALL" (meaning the action will only be executed if the product is being uninstalled).
Regards
-Stein Åsmul