/build/static/layout/Breadcrumb_cap_w.png

Scripting Question


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

08/01/2017 794 views

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

Comments


All Answers

0
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.
Answered 08/02/2017 by: vjaneczko
9th Degree Black Belt

0

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!

Answered 08/03/2017 by: rcooder
Senior Yellow Belt

This content is currently hidden from public view.
Reason: Removed by member request For more information, visit our FAQ's.