我一直試圖爲VS 2017 Professional安裝Microsoft Visual Studio 2017 Installer Projects,但現在一段時間沒有成功。首先,我嘗試通過VS2017中的擴展和更新嚮導。它下載正確的,但是當我關閉VS揭開序幕,如果用下面的立即失敗安裝:由於無效證書導致無法安裝Microsoft Visual Studio 2017安裝程序項目
然後我從Visual Studio市場抓起VSIX並試圖通過以下命令行安裝:
VSIXInstaller InstallerProjects.vsix
這似乎進一步得到我,也避讓我到證書是問題。它不是如何說Digital Signature: Invalid Certificate
:
點擊進入繼續安裝,它失敗後,讓我看到了日誌:
日誌似乎呼應了證書頒發這裏:
10/17/2017 1:11:21 PM - Signature Details...
10/17/2017 1:11:21 PM - Extension is signed with an invalid certificate
10/17/2017 1:11:21 PM - (PartialChain) : A certificate chain could not be built to a trusted root authority.
10/17/2017 1:11:21 PM - (RevocationStatusUnknown): The revocation function was unable to check revocation for the certificate.
10/17/2017 1:11:21 PM - (OfflineRevocation) : The revocation function was unable to check revocation because the revocation server was offline.
這裏:
10/17/2017 1:15:30 PM - Certificate is invalid: InstallerProjects.vsix
10/17/2017 1:15:36 PM - Skipping Install of 'VSInstallerProjects,version=0.8.4' since downloading it failed.
10/17/2017 1:15:36 PM - Skipping cache of package 'VSInstallerProjects,version=0.8.4' since the package or a parent package had a vital failure.
10/17/2017 1:15:36 PM - Skipping cache of package 'Component.VSInstallerProjects,version=0.8.4' since the package or a parent package had a vital failure.
10/17/2017 1:15:47 PM - Install Error : Microsoft.VisualStudio.Setup.PackageFailureException: Package 'VSInstallerProjects' failed to download
at Microsoft.VisualStudio.Setup.InstallOperation.Run(CancellationToken token)
at Microsoft.VisualStudio.Setup.Engine.RunOperation(InstallOperation installOperation, CancellationToken token, ExecuteAction action, ITelemetryOperation telemetryOperation)
at Microsoft.VisualStudio.Setup.Engine.RunCoreOperation(InstallOperation coreOperation, ExecuteAction action, ITelemetryOperation telemetryOperation, CancellationToken token)
at Microsoft.VisualStudio.Setup.Engine.Install(Product product, String destination, CancellationToken token)
at Microsoft.VisualStudio.ExtensionManager.ExtensionEngineImpl.PerformSetupEngineInstall(InstallableExtensionImpl extension, Boolean installPerMachine, Boolean isPackComponent, IDictionary`2 extensionsInstalledSoFar, List`1 extensionsUninstalledSoFar, IInstalledExtensionList modifiedInstalledExtensionsList, IProgress`1 progress, InstallFlags installFlags, AsyncOperation asyncOp, Version targetedVsVersion, IInstalledExtension& newExtension)
at Microsoft.VisualStudio.ExtensionManager.ExtensionEngineImpl.InstallInternal(InstallableExtensionImpl extension, InstallFlags installFlags, IDictionary`2 extensionsInstalledSoFar, List`1 extensionsUninstalledSoFar, IInstalledExtensionList modifiedInstalledExtensionsList, AsyncOperation asyncOp, IProgress`1 progress, Version targetedVsVersion)
at Microsoft.VisualStudio.ExtensionManager.ExtensionEngineImpl.BeginInstall(IInstallableExtension installableExtension, InstallFlags installFlags, AsyncOperation asyncOp, Version targetedVsVersion)
at Microsoft.VisualStudio.ExtensionManager.ExtensionEngineImpl.InstallWorker(IInstallableExtension extension, InstallFlags installFlags, AsyncOperation asyncOp)
有關可能發生什麼的任何想法?
在日誌中你有: 2017年10月17日下午1點十一分21秒 - (RevocationStatusUnknown):吊銷功能無法檢查吊銷證書。 10/17/2017 1:11:21 PM - (OfflineRevocation):由於吊銷服務器處於離線狀態,吊銷功能無法檢查吊銷。 這是不是表明,無論是防火牆,代理服務器或其他手段已禁止來自驗證證書的安裝程序,在其中,它可能有一些內部指令停止安裝? –
這是非常可能的,因爲我的工作有一些非常嚴格的代理/防火牆規則......但是,我的安裝VS2017的Windows 7機器似乎並沒有這個問題。只有在Windows 10機器上纔會出現這個問題。組策略級別/ Windows構建級別上是否有任何事情可以對此做出貢獻? – Hershizer33
這是否有幫助https://stackoverflow.com/questions/32590194/visual-studio-2015-enterprise-offline-installation-fails? –