Installing Github on Windows- “Value does not fall within the expected range”

前端 未结 3 466
礼貌的吻别
礼貌的吻别 2021-01-02 10:50

I\'m trying to install Github on my Windows 7 laptop, and I get an error every time I run the GitHubSetup.exe, saying \"Application cannot be started. Contact the applicatio

相关标签:
3条回答
  • 2021-01-02 11:18

    You can try some of the solutions of this question:

    • make sure the app is not installed or uninstall it (Control Panel)
    • run "rundll32 %windir%\system32\dfshim.dll CleanOnlineAppCache"

    • if this isn't enough, try again after a reboot

    • removing any references to in the registry (but that was not enough) and then clearing %user%\AppData\Local\Apps
    • try again as a different user account

    The OP vmazur confirms in the comments:

    My problem was solved by going to %LocalAppData%\Apps and deleting a folder called "2.0" there.

    bkribbs cautions in the comments:

    That 2.0 folder contains the data from multiple applications, I assume all the clickonce ones.
    It would be worth going into that folder, expanding the names, and only deleting the ones with the app name in the folder name. Otherwise you risk losing other applications as well.

    0 讨论(0)
  • 2021-01-02 11:22

    Had the same problem and fixed it by restoring the application to previous state.

    • Open Control panel
    • Open programs and features
    • Find GitHub and double click it.
    • Select restore application to previous state

    Open github

    0 讨论(0)
  • 2021-01-02 11:31

    I recently faced the issue and here is how I fixed it.

    Error logged showed that there were some dependency for different dlls.

    • Completely uninstall the application and if possible check for any folder under AppData/2.0 - If there is, delete it after making sure that you are only deleting your application folders only [ as mentioned in the accepted answer].
    • Go to project properties -> Publish ->Application Files.

    • Reset All

    Republished the application and installed again and it worked.

    0 讨论(0)
提交回复
热议问题