System.Runtime.InteropServices.COMException when installing Github for Windows

前端 未结 2 693
抹茶落季
抹茶落季 2021-02-01 09:35

I\'m trying to install GitHub for Windows and I get the following error message:

PLATFORM VERSION INFO
    Windows             : 6.0.6002.131072 (Win32NT)
    C         


        
2条回答
  •  伪装坚强ぢ
    2021-02-01 10:17

    Here are two solutions for you to try, the second manual delete worked for me. (Also make sure you runt he installer with admin privileges.

    Its likely to be a problem with the ClickOnce Application Cache. Could you try the following in order to clear the cache

    1. Hold down the Windows key and type R.
    2. Type in rundll32 %SystemRoot%\system32\dfshim.dll CleanOnlineAppCache in the run dialog and hit Enter.

    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.

    Note that this path may be in a different language if you're using a non-English version of Windows.

提交回复
热议问题