This is indicative of, I think, a wider Windows 8.1 problem, but I ran into this pretty serious problem with TortoiseGit when upgrading to 8.1. TortoiseGit won’t start, so when you try to repair it, you end up with an error dialog. Worse, it could not be reinstalled, repaired, or even uninstalled!
You get this in the event log:
Product: TortoiseGit 18.104.22.168 (64 bit) -- Error 1723. There is a problem with this Windows Installer package. A DLL required for this install to complete could not be run. Contact your support personnel or package vendor. Action KillCache, entry: TerminateCache, library: C:\WINDOWS\Installer\MSI1CC.tmp
After much trial and error I finally fixed it via:
- Export your entire registry key via:
c:\Windows\Installer>regedit /E:A c:\Users\MyName\Desktop\reg.txt
- Then grep through this big file (about 11 MB in my case) and find every key or value that looks related to the MSI, e.g.,
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Folder\shellex\DragDropHandlers\TortoiseGit] "ProductName"="TortoiseGit 22.214.171.124 (64 bit)" "PackageName"="TortoiseGit-126.96.36.199-64bit.msi"
- Using regedit, delete all these keys (I found maybe a half dozen).
- Now you should be able to re-download and install the MSI, overwriting the proper registry settings your deleted, as well as the files. For good measure, I did this via the command line as an administrator:
msiexec /i C:\Path\To\Downloaded\TortoiseGit.msi
Then I got TortoiseGit working again. Hope this works for you.