2014-10-18 75 views
8

我想在我的Windows 7筆記本電腦上安裝Github,並且每次運行GitHubSetup.exe時都會收到錯誤,並說「應用程序不能開始了,請聯繫應用程序供應商。「當我打的細節,這是顯示文本:我很困惑,而新的這一切在Windows上安裝Github-「價值不在預期的範圍內」

PLATFORM VERSION INFO 
Windows    : 6.1.7601.65536 (Win32NT) 
Common Language Runtime  : 4.0.30319.18444 
System.Deployment.dll  : 4.0.30319.34244 built by: FX452RTMGDR 
clr.dll    : 4.0.30319.18444 built by: FX451RTMGDR 
dfdll.dll   : 4.0.30319.34244 built by: FX452RTMGDR 
dfshim.dll   : 4.0.41209.0 (Main.041209-0000) 

SOURCES 
Deployment url   : http://github-windows.s3.amazonaws.com/GitHub.application 
        Server  : AmazonS3 

IDENTITIES 
Deployment Identity  : GitHub.application, Version=2.4.1.2, Culture=neutral, PublicKeyToken=317444273a93ac29, processorArchitecture=x86 

APPLICATION SUMMARY 
* Installable application. 
* Trust url parameter is set. 
ERROR SUMMARY 
Below is a summary of the errors, details of these errors are listed later in the log. 
* Activation of http://github-windows.s3.amazonaws.com/GitHub.application resulted in exception. Following failure messages were detected: 
    + Value does not fall within the expected range. 

COMPONENT STORE TRANSACTION FAILURE SUMMARY 
No transaction error was detected. 

WARNINGS 
There were no warnings during this operation. 

OPERATION PROGRESS STATUS 
* [10/17/2014 5:20:08 PM] : Activation of http://github-windows.s3.amazonaws.com/GitHub.application has started. 
* [10/17/2014 5:20:09 PM] : Processing of deployment manifest has successfully completed. 

ERROR DETAILS 
Following errors were detected during this operation. 
* [10/17/2014 5:20:09 PM] System.ArgumentException 
    - Value does not fall within the expected range. 
    - Source: System.Deployment 
    - Stack trace: 
     at System.Deployment.Application.NativeMethods.CorLaunchApplication(UInt32 hostType, String applicationFullName, Int32 manifestPathsCount, String[] manifestPaths, Int32 activationDataCount, String[] activationData, PROCESS_INFORMATION processInformation) 
     at System.Deployment.Application.ComponentStore.ActivateApplication(DefinitionAppId appId, String activationParameter, Boolean useActivationParameter) 
     at System.Deployment.Application.SubscriptionStore.ActivateApplication(DefinitionAppId appId, String activationParameter, Boolean useActivationParameter) 
     at System.Deployment.Application.ApplicationActivator.Activate(DefinitionAppId appId, AssemblyManifest appManifest, String activationParameter, Boolean useActivationParameter) 
     at System.Deployment.Application.ApplicationActivator.PerformDeploymentActivation(Uri activationUri, Boolean isShortcut, String textualSubId, String deploymentProviderUrlFromExtension, BrowserSettings browserSettings, String& errorPageUrl) 
     at System.Deployment.Application.ApplicationActivator.ActivateDeploymentWorker(Object state) 

COMPONENT STORE TRANSACTION DETAILS 
* Transaction at [10/17/2014 5:20:09 PM] 
    + System.Deployment.Internal.Isolation.StoreOperationSetDeploymentMetadata 
     - Status: Set 
     - HRESULT: 0x0 
    + System.Deployment.Internal.Isolation.StoreTransactionOperationType (27) 
     - HRESULT: 0x0 

,所以我感謝所有幫助找出安裝此。謝謝!

回答

9

你可以嘗試一些this question的解決方案:

  • 確保應用程序無法安裝或卸載它(控制面板)
  • 運行 「rundll32 %windir%\system32\dfshim.dll CleanOnlineAppCache

  • 如果ISN不夠用,重啓後再試

  • 刪除註冊表中的任何引用(但這還不夠),然後清除%user%\AppData\Local\Apps
  • 後再試,不同的用戶帳戶

的OP vmazur確認in the comments

我的問題是通過將%LocalAppData%\Apps刪除一個名爲 「2.0有文件夾解決。

bkribbs注意事項in the comments

2.0文件夾中包含來自多個應用程序的數據,我想所有的ClickOnce的。
這將是值得進入該文件夾,擴大名稱,並只刪除與文件夾名稱中的應用程序名稱。 否則您可能會失去其他應用程序以及

+2

我的問題是通過轉到%LocalAppData%\ Apps並刪除名爲「2.0」的文件夾在那裏解決的,但是謝謝:) – vmazur 2014-10-22 04:29:00

+0

@vmazur太棒了。我已將您的結論納入答案中,以獲得更多的知名度。 – VonC 2014-10-22 05:15:28

+3

該2.0文件夾包含來自多個應用程序的數據,我假設所有的clickonce。這將是值得進入該文件夾,擴大名稱,並只刪除文件夾名稱中的應用程序名稱。否則,您可能會失去其他應用程序。 – bkribbs 2015-06-24 12:10:24

2

有同樣的問題,並通過將應用程序恢復到以前的狀態來解決它。

  • 打開控制面板
  • 打開程序和功能
  • GitHub上找到並雙擊它。
  • 選擇還原應用程序以前的狀態

打開github上

+0

嗨。我試過你的選擇,它的工作。謝謝! – Ryan 2016-05-21 11:04:16

1

我最近所面對的問題,這是我如何固定它。

記錄的錯誤表明有不同dll的依賴關係。

  • 完全卸載應用程序,如果可能的話檢查AppData/2.0下的任何文件夾 - 如果存在,確保只刪除應用程序文件夾[如接受的答案中所述]後刪除它。
  • 轉到項目屬性 - >發佈 - >應用程序文件。

enter image description here

  • 重置所有

enter image description here

再版的應用程序並再次安裝和它的工作。

相關問題