How to clean up files left behind on machine from an uinstall

Using InstallShield 2015 - wrapping transform/MST around vendor MSI.

When performing an uninstall from SCCM, files are being left behind in C:\ProgramFiles(x86)\app name\bin

Where and how in my transform/MST do I account for cleaning out the files that are being left behind on the machine after an uninstall?

0 Comments   [ + ] Show comments

Answers (2)

Posted by: vjaneczko 5 years ago
9th Degree Black Belt
You'll have to inspect each entry in the Files table and change their attributes.  The easiest thing is to ignore the files and leave them on the hard drive - unless your hard drive is really, really full and you need the space?  The second easiest thing to do is write a CMD file launched by SCCM that'll delete the folder after the MSI has been removed.
Posted by: rcooder 5 years ago
Senior Yellow Belt

It turned out to be a file that was not removed due to permissions issue. The solution was to add modify rights to the file in question. This then allowed for the file to be removed and also allowed for the designed process to then uninstall the folder in which the file resided.

VJaneczko - Thank you for your response!

This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ