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

Populating RemoveFile Table at installtime


2 replies to this topic

Dave I

Dave I
  • Members
  • 195 posts

Posted 09 March 2001 - 11:05

During my setup I have to rename numerous files.  

After all my file operations are complete I have a STRINGLIST of all the unrequired files that I want to remove.  Is it feasible to use this list to dynamically populate the RemoveFile table at runtime.

I know it may be ambitious, and will probably end up on the "nice-to-have" list, but any info would be appreciated.

Obviously, I know I can manually edit the table but prior to install I dont know the files that need to be removed and the FileName column doesnt seem to like [PROPERTIES].




Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 09 March 2001 - 12:10

You can add temprorary table rows at runtime with some SQL commands in a custom action. But if you're renaming the files in a InstallScript custom action and build a string list, why don't you delete them from there, too?