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)
Please log in to answer
Posted by:
vjaneczko
7 years ago
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
7 years ago
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!