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

后端 未结 5 859
一个人的身影
一个人的身影 2021-01-14 12:10

I need to create a few Windows Services and obviously I would like to package them in a nice installer.

Since I was unfamiliar with Service creation/installation I b

5条回答
  •  星月不相逢
    2021-01-14 12:54

    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

提交回复
热议问题