PDA

View Full Version : Delete Files that's not in TARGETDIR



e-synergy
09-18-2003, 02:32 AM
Hello again.

I create a file with CreateFile in C:\.
My problem is to delete this file. In the help file I read that I have to copy it before, but InstallShield can not copy in another Target then the TARGETDIR.

How can I delete this File in an Unintallation.


thanx

yatest5
09-18-2003, 05:01 AM
should do the job!

yatest5
09-18-2003, 05:04 AM
InstallShield can copy files into any folder on the machine - just alter the destination value for each file group - it might be easier for you to copy your file this way (and then it would be automatically deleted like you say)

e-synergy
09-18-2003, 05:48 AM
What do you mean?

e-synergy
09-18-2003, 05:53 AM
I have find a solution to delete by DeleteFile.

Nevertheless, thank you for answering.


Pat