PDA

View Full Version : Some files are not being removed during uninstall



dperrine
06-06-2013, 12:36 PM
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?

Thanks

Dan

GrantK
12-29-2014, 11:53 AM
First step would be to create a verbose uninstall log.
https://flexeracommunity.force.com/customer/articles/en_US/HOWTO/Logging-an-MSI-Installation

IanBrooke
09-07-2015, 03:54 AM
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.

DLee65
09-08-2015, 06:29 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.

EnriqueAdatt
08-18-2017, 08:47 PM
If I create sessions using PT Express and mbox, can I then use PT LE 8 w/Digi 002 to open, work on and save those sessions in PT LE 8? If not, I presume I could import the individual track files from Express to LE.
Thanks
TK