Posted on

The SavedState Dictionary Contains Inconsistent Data and might have been corrupted

Ever see this before?

“The SavedState Dictionary Contains Inconsistent Data and might have been corrupted”

My solution was to make sure that the installer has no custom actions for actions and then remove them from the setup project’s custom actions. So in this case I had installer hooks on install (Start Service) and uninstall (Stop Service), but I had custom actions on all four items. If there is no committ or rollback functions, don’t bother with having custom actions for the assembly.