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

ComponentRemoveAll()


2 replies to this topic

JRNeal

JRNeal
  • Members
  • 3 posts

Posted 19 September 2002 - 19:28

I want to create a backup of some files during an uninstall using IS Pro 6.3.  In the Script, I create a backup directory and then copy the files I want to backup to the backup directory using FileCopy().  After that, I call the ComponentRemoveAll() function to uninstall the program completely.  However, this ComponentRemoveAll() function also removes the copied backup files I just created.  Not good.  I was wondering if there is a way to uninstall the program and all of its components completely without removing the backup files.

Thanks.

Taco Bell

Taco Bell

    IS6 Expert

  • Moderators
  • 1,281 posts

Posted 19 September 2002 - 21:01

Yes, very easily.  Simply enclose that code in Disable(LOGGING); and Enable(LOGGING); calls.
user posted image

JRNeal

JRNeal
  • Members
  • 3 posts

Posted 19 September 2002 - 22:11

Thanks.