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
- :
- Removing All Installed Files and Folders
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 20, 2007
09:44 AM
Removing All Installed Files and Folders
Hello,
We have an installer for our web application this installer includes alot of dynamically linked folders and individual components (a mixed install). My question is simple, we need to make sure that all files and folders that are installed are also removed upon an uninstall from Add/Remove Programs. As we have found on certain install's the "foot print" of the old folder structure still remains for folders that no longer containing files.
How can I ensure that all files and folders installed by the installer are removed? :confused:
If this is designed to do so which its not in some cases what can I do to ensure everything is removed. This would NOT include folders that contained files previous to the install.
Thanks Again
We have an installer for our web application this installer includes alot of dynamically linked folders and individual components (a mixed install). My question is simple, we need to make sure that all files and folders that are installed are also removed upon an uninstall from Add/Remove Programs. As we have found on certain install's the "foot print" of the old folder structure still remains for folders that no longer containing files.
How can I ensure that all files and folders installed by the installer are removed? :confused:
If this is designed to do so which its not in some cases what can I do to ensure everything is removed. This would NOT include folders that contained files previous to the install.
Thanks Again
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Aug 20, 2007
10:00 AM
Assuming no user-created files are placed and it's InstallScript, would DeleteDir work?
if (REMOVEALLMODE) then
DeleteDir (szDir, ALLCONTENTS | ONLYDIR);
endif;
Check DeleteDir in help for more information.
if (REMOVEALLMODE) then
DeleteDir (szDir, ALLCONTENTS | ONLYDIR);
endif;
Check DeleteDir in help for more information.