Some files are not being removed during uninstall
I created an installer using IS for one of my software programs. It installs the program files into a folder under the ProgramFilesFolder and the database into a folder under the CommanAppDataFolder. Everything works fine. The software program creates a few writable files like .ini and puts them into the same folder as the database under CommonAppDataFolder.
When the program is uninstalled the database is deleted but the folder and the ini created are NOT removed.
How can I ensure that all the dregs and miscellany created by the program during use are removed during or after uninstall?
First step would be to create a verbose uninstall log.
If the program creates files then they won't be removed. The ONLY files and folders that the uninstaller will remove are those IT creates as part of the install. It won't remove the folder (even if as in this case it created it) because the ini is in there.
I would guess, although I haven't tried it, that if you actually install the ini and then simply have the program overwrite it then the uninstaller might remove it.
Last edited by IanBrooke; 09-07-2015 at 03:56 AM.
I am not familiar with the Express version of InstallShield, but take and add the ini file name to the RemoveFile table. Associate it with a component that you know will be removed during uninstall and that will allow you to delete files not created by the installer.
Tags for this Thread