我正在尝试在我的 Windows 7 笔记本电脑上安装 Github,但每次运行 GitHubSetup.exe 时都会出现错误,提示“无法启动应用程序。请联系应用程序供应商。”。当我点击详细信息时,这是显示的文本:
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
我很困惑,而且对这一切都是陌生的,所以我很感激任何帮助来弄清楚如何安装它。谢谢!
最佳答案
你可以试试this question的一些解决方案:
- 确保应用程序未安装或卸载(控制面板)
运行“
rundll32 %windir%\system32\dfshim.dll CleanOnlineAppCache
”如果这还不够,请在重启后重试
- 删除注册表中的任何引用(但这还不够),然后清除
%user%\AppData\Local\Apps
- 使用不同的用户帐户重试
OP vmazur确认 in the comments :
My problem was solved by going to
%LocalAppData%\Apps
and deleting a folder called "2.0
" there.
bkribbs注意事项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.
关于windows - 在 Windows 上安装 Github- "Value does not fall within the expected range",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/26435261/