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: delete folder
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
Sep 15, 2008
05:52 AM
delete folder
i need to delete folder that is created at install time and has files that are created while application is run. i am using the Basic MSI project. i tried making a custom action which deletes folder while uninstalling application. i am using
DeleteDir(directory-name , ALLCONTENTS)
but it is unable to delete the files created while running the application.
thanks in advance,
rajen
DeleteDir(directory-name , ALLCONTENTS)
but it is unable to delete the files created while running the application.
thanks in advance,
rajen
(1) Reply
![](/skins/images/3B39CE851FDD5528C393F146EB70A2D0/responsive_peak/images/icon_anonymous_message.png)
Not applicable
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Sep 15, 2008
06:16 AM
DeleteDir can't delete files/folders that are in-use.
You need to determine which files are in use and why and update your setup to close these files before the delete occurs. This may require calling UnUseDLL, FreeLibrary, etc. to release the appropriate file.
Devin Ellingson
Software Developer
Acresso Software
You need to determine which files are in use and why and update your setup to close these files before the delete occurs. This may require calling UnUseDLL, FreeLibrary, etc. to release the appropriate file.
Devin Ellingson
Software Developer
Acresso Software
![](/skins/images/3B39CE851FDD5528C393F146EB70A2D0/responsive_peak/images/icon_anonymous_message.png)