I have a case with an .msi file that's already in prod and cannot be removed because "Another application has exclusive access to the file".

My question would be - what are my options to remove that installation package? Can I somehow exclude it from the list of removed components/"mark it as permament"?

Another possible option would be msizap?

P.S. Similar case - http://www.itninja.com/question/uninstalling-error
0 Comments   [ - ] Hide Comments


Please log in to comment

Answer this question or Comment on this question for clarity


First, you must find the culprit executable file and kill it. It can be found in list of processes in Task manager. Chances are you might be dealing with Java applications accessing its flag file. i.e. javaw.exe, java.exe, etc.
After killing it, your MSI will run smoothly..
Answered 04/03/2012 by: dj_xest
Fifth Degree Black Belt

  • It's "svchost.exe" process, so a possible solution might be to kill the specific handle that holds the file.

    what about cleaning out component registry information?
  • if you can locate the actual program file which is running under the assumed process name of "svchost.exe", you can only kill that. Other than that, svchost.exe hosts several Windows services and might produce undesired results.
Please log in to comment