This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: DeleteDir function problem
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 26, 2008
08:58 AM
DeleteDir function problem
Hi,
During installation I need to copy a particular folder and whole of its contents from the target path to another location.
I have used the XCopy function to copy the folder & then I delete the folder which is still present at the target-path.
The delete folder is done by the DeleteDir function but a sql query file is left back even after the call. How can this file as well as the folder be removed?:confused:
Is there any other alternative to perform this whole action?:(
Please give a small example. Please help.
Thanks in advance 🙂
During installation I need to copy a particular folder and whole of its contents from the target path to another location.
I have used the XCopy function to copy the folder & then I delete the folder which is still present at the target-path.
The delete folder is done by the DeleteDir function but a sql query file is left back even after the call. How can this file as well as the folder be removed?:confused:
Is there any other alternative to perform this whole action?:(
Please give a small example. Please help.
Thanks in advance 🙂
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 27, 2008
08:41 AM
Doesn't the DeleteDir() function removes the executable as well as sql querry file? After my function call, these two type of files are left behind.
Please help.
Thanks in advance 🙂
Please help.
Thanks in advance 🙂
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 27, 2008
10:48 AM
If you specify "ALLCONTENTS" when using DeleteDir, it will delete all files EXCEPT:
1) Files marked read-only or hidden
2) Files marked as system files or windows-protected files
3) Files that you don't have permission to delete
4) Files that are in use
1) Files marked read-only or hidden
2) Files marked as system files or windows-protected files
3) Files that you don't have permission to delete
4) Files that are in use