Our product is highly configurable. The user has the option of using the default SOURCE files included in the installation package or using their own customized SOURCE files.
My problem/question is this:
The the user chooses to use their own SOURCE files, points to the "SOURCE" location, the files are then copied to INSTALLDIR via XCopyFile(). Somewhere during the install process they press the CANCEL button on one of the dialogs.
After the CANCEL button is pressed, the confirm cancel dialog pops, and if they still choose to cancel, then I call one of my functions "CleanUpInstall" to make sure that everything is removed.
The PROBLEM I am having is that I cannot delete the directories that were created via XCopyFile(). I have tried everything I can think of. This includes, Enable(LOGGING) before the files are copied, DeleteFile() and DeleteDir().
I've even tried using the direct editor to create the directories just so that the installer/setup.exe would recognize them.
Any thoughts or suggestions would be most appreciated.
Please help
Marie
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.
Using External files during Installation
Started by
Marie Tupps
, Jul 01 2002 15:13
1 reply to this topic