an error occurred while writing installation information to disk
getting this error message when trying to install an hp printer. Also seems stuck when trying to install windows updates.
tried changing windows installer service to disable then back to manual. also tried installing new version of windows installer.
ran sfc /scannow everything came back fine.