Installshield 2015 does not remove program files during uninstall
Posted on 2016-11-07
I have a Basic MSI project I upgraded from Installshield 2010 LE to Installshield 2015 Professional. My issue applies to uninstalling the program (whether from Programs and Features in the Control Panel or from updating the software with a new installer).
To produce an updated installer in 2010, I had to change the product code then add an upgrade path. The process was simple and worked as expected: when I distributed my installer, it would uninstall the previous version first (removing all program files) and correctly install the new version.
In InstallShield 2015, I follow the same instructions but the previous version is never uninstalled... even though during the install process for the new version, it says that it is uninstalling the old version. If I go into Programs and Features and try to uninstall it, the program files are not removed from the system. So the new version installer is both not removing the old version and not overwriting the old version with new files. Even though there are plenty of progress bars that visually indicate that is happening.
From searching around online, there were suggestions from people 5-10 years ago with similar issue and the suggestions involved using Installscript to delete the installation folder during the uninstall process, but there were no real examples given. I have tried to do this but can't figure out how.
There was also a suggestion from 13 years ago to go through all of the components and make sure both Permanent and Shared properties are set to No. Almost all of my components were marked as shared for some reason, but none of them were permanent. I went through and set Shared to No on all of them, this did not make a difference.
So at this point I'm stuck and unable to distribute updated installers for new versions of my software. Can anyone assist me with this issue?