View Full Version : Backup and Restore

06-06-2005, 12:51 PM
At the start of installation I want to backup a directory content including its sub directories and I want to restore it in the event of rollback. I think this can be achieved by calling winzip (to zip and unzip content), but is there any other straight forward method provided by the Install Shield to perform this operation?

Thanks a lot.

06-08-2005, 01:22 PM
In my experience, using XCopyFile and setting INCLUDE_SUBDIR would be your best bet. I don't know of any functionality to compress the files into a zip. If you have any compression libraries or dll's you may want to load that dll and use its functionality.