Aaron Stebner's WebLog

Thoughts about setup and deployment issues, WiX, XNA, the .NET Framework and Visual Studio

Possible workaround for MSI uninstall failures caused by an error opening the installation log file

Possible workaround for MSI uninstall failures caused by an error opening the installation log file

Rate This
  • Comments 6

Recently, I was investigating a strange uninstall issue on a co-worker’s computer.  They tried to uninstall a build of an MSI-based product we are working on by using the entry in the Programs and Features control panel.  When doing so, an error dialog with the following text appeared almost immediately:

Error opening installation log file. Verify that the specified location exists and is writable.

Further investigation showed the following additional data:

  • Manually uninstalling the MSI manually by using msiexec.exe succeeded
  • Attempting to use the Programs and Features control panel to uninstall any other MSI that was installed on the computer failed with the same error message, so we knew that the problem was not specific to our installer.

After a bit of investigation, I found the knowledge base article at http://support.microsoft.com/kb/2564571.  That article lists a simple workaround for this error – stop and restart the process named explorer.exe using Task Manager.  We tried it out, and it ended up working.  Hopefully this will be useful in case others run into this error message in the future.

  • Thanks!

  • You rule man!

  • IT does not work for me. I have tried the same solution.

    The error still exist.

    Please Help !

  • Hi Yanamuse - You might need to restart the computer to resolve this error.  I've seen a couple of cases in the past where restarting Windows Explorer wasn't enough.

  • This did not work for me either and I have done a complete reboot of the server.

  • Hi Karyn - Can you uninstall the .msi directly instead of using the control panel as a workaround?

Page 1 of 1 (6 items)
Leave a Comment
  • Please add 3 and 1 and type the answer here:
  • Post