Here's what finally worked for me on my Windows 8.1 VM. I was getting this error trying to install Git Extensions for Windows.
Go to C:\Windows\Temp and make sure the Users group for the local machine have write permissions to the Temp folder. It finally fixed the error for me and I was able...