转自 : http://stackoverflow.com/questions/20370490/system-runtime-interopservices-comexception-when-installing-github-for-windows
- Hold down the
Windows
key and typeR
. - Type in
rundll32 %SystemRoot%\system32\dfshim.dll CleanOnlineAppCache
in the run dialog and hitEnter
.
Then try installing the application.
If that doesn't work, there's a more manual approach to ensuring the cache is cleared - you can delete the ClickOnce Application folder.
- On
Windows Vista
or higher, this will be the%LocalAppData%\Apps\2.0
directory. - On
Windows XP
this will be the%USERPROFILE%\Local Settings\Apps\2.0
directory.