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

Few temp files and empty folders are not removed after uninstallation

Hi,

I've created a installer project using InstallShield 2014. Installation works fine. But on uninstallation, I see that few temp files and empty folders are still present in the installation directory. After reading few posts, I tried forceful delete option by making appropriate entry in the installscript to delete the installation directory on uninstallation. But this option didn't work.

Please provide some inputs to overcome this problem.

Thanks.
Karthik
Labels (1)
0 Kudos

(5) Replies
PlinyElder
Level 7

Is this a Basic MSI or Installshield Project?

Are these files/directories being created AFTER the isntallation has been completed? For example these files/folders get created by your program running or initializing?
0 Kudos
hmkarthik
Level 3

Hi PlinyElder,

This is an Installshield Project.

These folders are part of the installation package. So, these folders are created on the target machine during installation and not after installation is completed.
These folders contain the required files which will be placed on the installed machine. On uninstallation, these files are getting removed but these folders are existing as empty folders.

With respect to 'temp files', these files are getting generated by the running program which is part of installation package. I mean after installation, when this program is run, it generates these temp files. These are not getting removed on uninstallation.

Thanks,
Karthik
0 Kudos
PlinyElder
Level 7

So the packages are Basic MSI's? The package needs to have file/folder delete in the directories that are not getting removed. As well, make sure the destination location in the package is not set to shared or permanent
0 Kudos
hmkarthik
Level 3

Yes, it is a Basic MSI package. I tried setting the components not to be shared (permanent was not set earlier) and built the project. Still I see those empty files after uninstallation.
0 Kudos
hmkarthik
Level 3

Any inputs like how I can overcome this problem of getting rid of empty folders while uninstallation?
0 Kudos