MSI Uninstall issue: Error 1001 -> The saved State dictionary contains inconsistent data and might have been corrupted

元气小坏坏 提交于 2019-12-01 08:05:55
user6263911

I solved this problem by doing this:

  • Go to the folder installation
  • Edit the file xxxxxxx.InstallState with notepad or an XML editor (where xxxxx is the name of your service)
  • Go to ArrayOfKeyValueOfanyTypeanyType node and then to Keys node
  • Delete anyType child
  • Go to the Values node and delete all anyType child
  • Save the file and try to uninstall

This works for me. regards

I got the same problem and I've managed to fix it by adding proper conditions to Custom Actions. In my case I've added Not Installed to my Windows Service Installer at the Install and Uninstall phase. There were no errors after that. Hope this will help! Find more information on this issues here.

I Know this is an old post but I fixed my problem by calling the Installer class base prior to performing my custom actions, I accidentally added my code by the base calls first.

Go to control panel and first repair your setup. After the successful repair you will be able to uninstall.

I had a similar issue where a Windows Installer Package (.msi) was not uninstalling as expected. The workaround for me was to use the command line to uninstall using InstallUtil.exe. Then, reinstall the service using InstallUtil.exe. After, I was finally able to use an old msi to uninstall. After I uninstalled using the old MSI, I was able to use a NEW msi to install and everything worked as desired.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!