cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
AdamL3024
Level 3

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
Labels (1)
0 Kudos
(1) Reply
m_rudolph
Level 6

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.
0 Kudos