none
vs2017在线安装失败 RRS feed

  • 问题

  • 点击刚开始的安装界面的继续后,会有很长一段时间的提取文件操作,几分钟后提示:

    无法下载安装文件,请检查Internet连接,然后重试!

    但是我检查Internet连接是正常的,手动下载vs_installer.opc也是可以的,检查temp文件下dd_bootstrap_开头日志,里面提示说:

    Beginning of the log. Start Time: 2018/12/27 10:06:34
    VisualStudio Bootstrapper:2018/12/27 10:06:40: Commandline arguments = --env,_SFX_CAB_EXE_PACKAGE:C:\Users\Administrator\Desktop\vs_community__515803656.1542959146.exe _SFX_CAB_EXE_ORIGINALWORKINGDIR:C:\Users\Administrator\Desktop
    VisualStudio Bootstrapper:2018/12/27 10:06:41: Parent process name = vs_community__515803656.1542959146
    VisualStudio Bootstrapper:2018/12/27 10:06:41: Parent process product version = 15.9.28307.222
    VisualStudio Bootstrapper:2018/12/27 10:06:41: CampaignId = 515803656.1542959146
    VisualStudio Bootstrapper:2018/12/27 10:06:41: ResponseId not available in 'vs_setup_bootstrapper.config'. Trying to parse filename.
    VisualStudio Bootstrapper:2018/12/27 10:06:41: loading config settings: -update --update --layout -offline --offline --locale --layout --originalworkingdir --installLayoutPath --env
    VisualStudio Bootstrapper:2018/12/27 10:06:54: DownloadURL = https://aka.ms/vs/15/release/installer
    VisualStudio Bootstrapper:2018/12/27 10:06:54: InstallLocation = C:\Program Files (x86)\Microsoft Visual Studio\Installer
    VisualStudio Bootstrapper:2018/12/27 10:06:54: OfflineFilePath = 
    VisualStudio Bootstrapper:2018/12/27 10:06:54: LayoutLocation = 
    VisualStudio Bootstrapper:2018/12/27 10:06:54: ExecutableArguments = /finalizeInstall install --in "C:\ProgramData\Microsoft\VisualStudio\Packages\_bootstrapper\vs_setup_bootstrapper_201812271006417482.json" --locale zh-CN --activityId "2dff895b-e2c6-4c3e-97c1-69e626bbe012" --campaign "515803656.1542959146"
    VisualStudio Bootstrapper:2018/12/27 10:06:54: OSVersion = Microsoft Windows NT 6.1.7601 Service Pack 1
    VisualStudio Bootstrapper:2018/12/27 10:06:54: Starting to detect the existing VS and .Net...
    VisualStudio Bootstrapper:2018/12/27 10:06:54: Finished detecting the existing VS and .Net
    VisualStudio Bootstrapper:2018/12/27 10:06:59: Beginning file download. File = https://aka.ms/vs/15/release/installer.
    VisualStudio Bootstrapper:2018/12/27 10:06:59: Download requested: https://aka.ms/vs/15/release/installer
    VisualStudio Bootstrapper:2018/12/27 10:06:59: Attempting download 'https://aka.ms/vs/15/release/installer' using engine 'WebClient'
    VisualStudio Bootstrapper:2018/12/27 10:07:02: Uri 'https://aka.ms/vs/15/release/installer' redirected to 'https://download.visualstudio.microsoft.com/download/pr/b2b31351-2620-4887-b3c5-6e7e1e968ec3/d17ab583fc856fd8d496205c2f56c4b7/vs_installer.opc'
    VisualStudio Bootstrapper:2018/12/27 10:08:14: Package signature verification threw exception: 调用的目标发生了异常。, for path: C:\ProgramData\Microsoft\VisualStudio\Packages\_bootstrapper\vs_installer\o.pec\vs_installer.opc"
    VisualStudio Bootstrapper:2018/12/27 10:08:14: Package signature verification threw exception: 调用的目标发生了异常。, for path: C:\ProgramData\Microsoft\VisualStudio\Packages\_bootstrapper\vs_installer\o.pec\vs_installer.opc"
    VisualStudio Bootstrapper:2018/12/27 10:08:14: Caught Exception: Type = InvalidSignatureException, Message = Package signature verification threw exception: 调用的目标发生了异常。, for path: vs_installer.opc", StackTrace = 
    VisualStudio Bootstrapper:2018/12/27 10:08:14: Package signature verification threw exception: 调用的目标发生了异常。, for path: vs_installer.opc"
    VisualStudio Bootstrapper:2018/12/27 10:08:14: Download failed using WebClient engine. Microsoft.VisualStudio.Setup.Security.InvalidSignatureException: Package signature verification threw exception: 调用的目标发生了异常。, for path: vs_installer.opc"
       在 Microsoft.VisualStudio.Setup.Download.DownloadManager.DownloadWithRetry(IDownloadEngine[] engines, Uri uri, Stream outputStream, ProgressUpdateCallback progress, CancellationToken cancellationToken, DownloadContext downloadContext, Boolean verifySignature)
    VisualStudio Bootstrapper:2018/12/27 10:08:14: Sleeping 5000 milliseconds before retrying download.
    VisualStudio Bootstrapper:2018/12/27 10:08:19: Attempting download 'https://aka.ms/vs/15/release/installer' using engine 'Bits'
    VisualStudio Bootstrapper:2018/12/27 10:09:34: Completing job 'VsBitsDownloadJob - -352404299'.
    VisualStudio Bootstrapper:2018/12/27 10:09:35: Package signature verification threw exception: 调用的目标发生了异常。, for path: C:\ProgramData\Microsoft\VisualStudio\Packages\_bootstrapper\vs_installer\o.pec\vs_installer.opc"
    VisualStudio Bootstrapper:2018/12/27 10:09:35: Package signature verification threw exception: 调用的目标发生了异常。, for path: C:\ProgramData\Microsoft\VisualStudio\Packages\_bootstrapper\vs_installer\o.pec\vs_installer.opc"
    VisualStudio Bootstrapper:2018/12/27 10:09:35: Caught Exception: Type = InvalidSignatureException, Message = Package signature verification threw exception: 调用的目标发生了异常。, for path: vs_installer.opc", StackTrace = 
    VisualStudio Bootstrapper:2018/12/27 10:09:35: Package signature verification threw exception: 调用的目标发生了异常。, for path: vs_installer.opc"
    VisualStudio Bootstrapper:2018/12/27 10:09:35: Download failed using Bits engine. Microsoft.VisualStudio.Setup.Security.InvalidSignatureException: Package signature verification threw exception: 调用的目标发生了异常。, for path: vs_installer.opc"
       在 Microsoft.VisualStudio.Setup.Download.DownloadManager.DownloadWithRetry(IDownloadEngine[] engines, Uri uri, Stream outputStream, ProgressUpdateCallback progress, CancellationToken cancellationToken, DownloadContext downloadContext, Boolean verifySignature)
    VisualStudio Bootstrapper:2018/12/27 10:09:35: Sleeping 10000 milliseconds before retrying download.
    VisualStudio Bootstrapper:2018/12/27 10:09:45: Attempting download 'https://aka.ms/vs/15/release/installer' using engine 'WinInet'
    VisualStudio Bootstrapper:2018/12/27 10:11:03: Package signature verification threw exception: 调用的目标发生了异常。, for path: C:\ProgramData\Microsoft\VisualStudio\Packages\_bootstrapper\vs_installer\o.pec\vs_installer.opc"
    VisualStudio Bootstrapper:2018/12/27 10:11:03: Package signature verification threw exception: 调用的目标发生了异常。, for path: C:\ProgramData\Microsoft\VisualStudio\Packages\_bootstrapper\vs_installer\o.pec\vs_installer.opc"
    VisualStudio Bootstrapper:2018/12/27 10:11:03: Caught Exception: Type = InvalidSignatureException, Message = Package signature verification threw exception: 调用的目标发生了异常。, for path: vs_installer.opc", StackTrace = 
    VisualStudio Bootstrapper:2018/12/27 10:11:03: Package signature verification threw exception: 调用的目标发生了异常。, for path: vs_installer.opc"
    VisualStudio Bootstrapper:2018/12/27 10:11:03: Download failed using WinInet engine. Microsoft.VisualStudio.Setup.Security.InvalidSignatureException: Package signature verification threw exception: 调用的目标发生了异常。, for path: vs_installer.opc"
       在 Microsoft.VisualStudio.Setup.Download.DownloadManager.DownloadWithRetry(IDownloadEngine[] engines, Uri uri, Stream outputStream, ProgressUpdateCallback progress, CancellationToken cancellationToken, DownloadContext downloadContext, Boolean verifySignature)
    VisualStudio Bootstrapper:2018/12/27 10:11:03: Caught Exception: Type = InvalidSignatureException, Message = Package signature verification threw exception: 调用的目标发生了异常。, for path: vs_installer.opc", StackTrace =    在 Microsoft.VisualStudio.Setup.Download.DownloadManager.DownloadWithRetry(IDownloadEngine[] engines, Uri uri, Stream outputStream, ProgressUpdateCallback progress, CancellationToken cancellationToken, DownloadContext downloadContext, Boolean verifySignature)
    VisualStudio Bootstrapper:2018/12/27 10:11:03: Failed to download. Error : Package signature verification threw exception: 调用的目标发生了异常。, for path: vs_installer.opc"
    VisualStudio Bootstrapper:2018/12/27 10:11:08: Beginning file download. File = https://aka.ms/vs/15/release/installer.
    VisualStudio Bootstrapper:2018/12/27 10:11:08: Download requested: https://aka.ms/vs/15/release/installer
    VisualStudio Bootstrapper:2018/12/27 10:11:08: Attempting download 'https://aka.ms/vs/15/release/installer' using engine 'WebClient'
    VisualStudio Bootstrapper:2018/12/27 10:11:09: Uri 'https://aka.ms/vs/15/release/installer' redirected to 'https://download.visualstudio.microsoft.com/download/pr/b2b31351-2620-4887-b3c5-6e7e1e968ec3/d17ab583fc856fd8d496205c2f56c4b7/vs_installer.opc'
    VisualStudio Bootstrapper:2018/12/27 10:12:22: Package signature verification threw exception: 调用的目标发生了异常。, for path: C:\ProgramData\Microsoft\VisualStudio\Packages\_bootstrapper\vs_installer\o.pec\vs_installer.opc"
    VisualStudio Bootstrapper:2018/12/27 10:12:22: Package signature verification threw exception: 调用的目标发生了异常。, for path: C:\ProgramData\Microsoft\VisualStudio\Packages\_bootstrapper\vs_installer\o.pec\vs_installer.opc"
    VisualStudio Bootstrapper:2018/12/27 10:12:22: Caught Exception: Type = InvalidSignatureException, Message = Package signature verification threw exception: 调用的目标发生了异常。, for path: vs_installer.opc", StackTrace = 
    VisualStudio Bootstrapper:2018/12/27 10:12:22: Package signature verification threw exception: 调用的目标发生了异常。, for path: vs_installer.opc"
    VisualStudio Bootstrapper:2018/12/27 10:12:22: Download failed using WebClient engine. Microsoft.VisualStudio.Setup.Security.InvalidSignatureException: Package signature verification threw exception: 调用的目标发生了异常。, for path: vs_installer.opc"
       在 Microsoft.VisualStudio.Setup.Download.DownloadManager.DownloadWithRetry(IDownloadEngine[] engines, Uri uri, Stream outputStream, ProgressUpdateCallback progress, CancellationToken cancellationToken, DownloadContext downloadContext, Boolean verifySignature)
    VisualStudio Bootstrapper:2018/12/27 10:12:23: Sleeping 5000 milliseconds before retrying download.
    VisualStudio Bootstrapper:2018/12/27 10:12:28: Attempting download 'https://aka.ms/vs/15/release/installer' using engine 'Bits'
    VisualStudio Bootstrapper:2018/12/27 10:13:39: Completing job 'VsBitsDownloadJob - -352404299'.
    VisualStudio Bootstrapper:2018/12/27 10:13:40: Package signature verification threw exception: 调用的目标发生了异常。, for path: C:\ProgramData\Microsoft\VisualStudio\Packages\_bootstrapper\vs_installer\o.pec\vs_installer.opc"
    VisualStudio Bootstrapper:2018/12/27 10:13:40: Package signature verification threw exception: 调用的目标发生了异常。, for path: C:\ProgramData\Microsoft\VisualStudio\Packages\_bootstrapper\vs_installer\o.pec\vs_installer.opc"
    VisualStudio Bootstrapper:2018/12/27 10:13:40: Caught Exception: Type = InvalidSignatureException, Message = Package signature verification threw exception: 调用的目标发生了异常。, for path: vs_installer.opc", StackTrace = 
    VisualStudio Bootstrapper:2018/12/27 10:13:40: Package signature verification threw exception: 调用的目标发生了异常。, for path: vs_installer.opc"
    VisualStudio Bootstrapper:2018/12/27 10:13:40: Download failed using Bits engine. Microsoft.VisualStudio.Setup.Security.InvalidSignatureException: Package signature verification threw exception: 调用的目标发生了异常。, for path: vs_installer.opc"
       在 Microsoft.VisualStudio.Setup.Download.DownloadManager.DownloadWithRetry(IDownloadEngine[] engines, Uri uri, Stream outputStream, ProgressUpdateCallback progress, CancellationToken cancellationToken, DownloadContext downloadContext, Boolean verifySignature)
    VisualStudio Bootstrapper:2018/12/27 10:13:40: Sleeping 10000 milliseconds before retrying download.
    VisualStudio Bootstrapper:2018/12/27 10:13:50: Attempting download 'https://aka.ms/vs/15/release/installer' using engine 'WinInet'
    VisualStudio Bootstrapper:2018/12/27 10:15:05: Package signature verification threw exception: 调用的目标发生了异常。, for path: C:\ProgramData\Microsoft\VisualStudio\Packages\_bootstrapper\vs_installer\o.pec\vs_installer.opc"
    VisualStudio Bootstrapper:2018/12/27 10:15:05: Package signature verification threw exception: 调用的目标发生了异常。, for path: C:\ProgramData\Microsoft\VisualStudio\Packages\_bootstrapper\vs_installer\o.pec\vs_installer.opc"
    VisualStudio Bootstrapper:2018/12/27 10:15:05: Caught Exception: Type = InvalidSignatureException, Message = Package signature verification threw exception: 调用的目标发生了异常。, for path: vs_installer.opc", StackTrace = 
    VisualStudio Bootstrapper:2018/12/27 10:15:05: Package signature verification threw exception: 调用的目标发生了异常。, for path: vs_installer.opc"
    VisualStudio Bootstrapper:2018/12/27 10:15:05: Download failed using WinInet engine. Microsoft.VisualStudio.Setup.Security.InvalidSignatureException: Package signature verification threw exception: 调用的目标发生了异常。, for path: vs_installer.opc"
       在 Microsoft.VisualStudio.Setup.Download.DownloadManager.DownloadWithRetry(IDownloadEngine[] engines, Uri uri, Stream outputStream, ProgressUpdateCallback progress, CancellationToken cancellationToken, DownloadContext downloadContext, Boolean verifySignature)
    VisualStudio Bootstrapper:2018/12/27 10:15:05: Caught Exception: Type = InvalidSignatureException, Message = Package signature verification threw exception: 调用的目标发生了异常。, for path: vs_installer.opc", StackTrace =    在 Microsoft.VisualStudio.Setup.Download.DownloadManager.DownloadWithRetry(IDownloadEngine[] engines, Uri uri, Stream outputStream, ProgressUpdateCallback progress, CancellationToken cancellationToken, DownloadContext downloadContext, Boolean verifySignature)
    VisualStudio Bootstrapper:2018/12/27 10:15:05: Failed to download. Error : Package signature verification threw exception: 调用的目标发生了异常。, for path: vs_installer.opc"
    VisualStudio Bootstrapper:2018/12/27 10:15:10: Beginning file download. File = https://aka.ms/vs/15/release/installer.
    VisualStudio Bootstrapper:2018/12/27 10:15:10: Download requested: https://aka.ms/vs/15/release/installer
    VisualStudio Bootstrapper:2018/12/27 10:15:10: Attempting download 'https://aka.ms/vs/15/release/installer' using engine 'WebClient'
    VisualStudio Bootstrapper:2018/12/27 10:15:10: Uri 'https://aka.ms/vs/15/release/installer' redirected to 'https://download.visualstudio.microsoft.com/download/pr/b2b31351-2620-4887-b3c5-6e7e1e968ec3/d17ab583fc856fd8d496205c2f56c4b7/vs_installer.opc'
    VisualStudio Bootstrapper:2018/12/27 10:16:23: Package signature verification threw exception: 调用的目标发生了异常。, for path: C:\ProgramData\Microsoft\VisualStudio\Packages\_bootstrapper\vs_installer\o.pec\vs_installer.opc"
    VisualStudio Bootstrapper:2018/12/27 10:16:23: Package signature verification threw exception: 调用的目标发生了异常。, for path: C:\ProgramData\Microsoft\VisualStudio\Packages\_bootstrapper\vs_installer\o.pec\vs_installer.opc"
    VisualStudio Bootstrapper:2018/12/27 10:16:23: Caught Exception: Type = InvalidSignatureException, Message = Package signature verification threw exception: 调用的目标发生了异常。, for path: vs_installer.opc", StackTrace = 
    VisualStudio Bootstrapper:2018/12/27 10:16:23: Package signature verification threw exception: 调用的目标发生了异常。, for path: vs_installer.opc"
    VisualStudio Bootstrapper:2018/12/27 10:16:23: Download failed using WebClient engine. Microsoft.VisualStudio.Setup.Security.InvalidSignatureException: Package signature verification threw exception: 调用的目标发生了异常。, for path: vs_installer.opc"
       在 Microsoft.VisualStudio.Setup.Download.DownloadManager.DownloadWithRetry(IDownloadEngine[] engines, Uri uri, Stream outputStream, ProgressUpdateCallback progress, CancellationToken cancellationToken, DownloadContext downloadContext, Boolean verifySignature)
    VisualStudio Bootstrapper:2018/12/27 10:16:23: Sleeping 5000 milliseconds before retrying download.
    VisualStudio Bootstrapper:2018/12/27 10:16:28: Attempting download 'https://aka.ms/vs/15/release/installer' using engine 'Bits'
    VisualStudio Bootstrapper:2018/12/27 10:17:38: Completing job 'VsBitsDownloadJob - -352404299'.
    VisualStudio Bootstrapper:2018/12/27 10:17:38: Package signature verification threw exception: 调用的目标发生了异常。, for path: C:\ProgramData\Microsoft\VisualStudio\Packages\_bootstrapper\vs_installer\o.pec\vs_installer.opc"
    VisualStudio Bootstrapper:2018/12/27 10:17:38: Package signature verification threw exception: 调用的目标发生了异常。, for path: C:\ProgramData\Microsoft\VisualStudio\Packages\_bootstrapper\vs_installer\o.pec\vs_installer.opc"
    VisualStudio Bootstrapper:2018/12/27 10:17:38: Caught Exception: Type = InvalidSignatureException, Message = Package signature verification threw exception: 调用的目标发生了异常。, for path: vs_installer.opc", StackTrace = 
    VisualStudio Bootstrapper:2018/12/27 10:17:38: Package signature verification threw exception: 调用的目标发生了异常。, for path: vs_installer.opc"
    VisualStudio Bootstrapper:2018/12/27 10:17:38: Download failed using Bits engine. Microsoft.VisualStudio.Setup.Security.InvalidSignatureException: Package signature verification threw exception: 调用的目标发生了异常。, for path: vs_installer.opc"
       在 Microsoft.VisualStudio.Setup.Download.DownloadManager.DownloadWithRetry(IDownloadEngine[] engines, Uri uri, Stream outputStream, ProgressUpdateCallback progress, CancellationToken cancellationToken, DownloadContext downloadContext, Boolean verifySignature)
    VisualStudio Bootstrapper:2018/12/27 10:17:38: Sleeping 10000 milliseconds before retrying download.
    VisualStudio Bootstrapper:2018/12/27 10:17:48: Attempting download 'https://aka.ms/vs/15/release/installer' using engine 'WinInet'
    VisualStudio Bootstrapper:2018/12/27 10:18:59: Package signature verification threw exception: 调用的目标发生了异常。, for path: C:\ProgramData\Microsoft\VisualStudio\Packages\_bootstrapper\vs_installer\o.pec\vs_installer.opc"
    VisualStudio Bootstrapper:2018/12/27 10:18:59: Package signature verification threw exception: 调用的目标发生了异常。, for path: C:\ProgramData\Microsoft\VisualStudio\Packages\_bootstrapper\vs_installer\o.pec\vs_installer.opc"
    VisualStudio Bootstrapper:2018/12/27 10:18:59: Caught Exception: Type = InvalidSignatureException, Message = Package signature verification threw exception: 调用的目标发生了异常。, for path: vs_installer.opc", StackTrace = 
    VisualStudio Bootstrapper:2018/12/27 10:18:59: Package signature verification threw exception: 调用的目标发生了异常。, for path: vs_installer.opc"
    VisualStudio Bootstrapper:2018/12/27 10:18:59: Download failed using WinInet engine. Microsoft.VisualStudio.Setup.Security.InvalidSignatureException: Package signature verification threw exception: 调用的目标发生了异常。, for path: vs_installer.opc"
       在 Microsoft.VisualStudio.Setup.Download.DownloadManager.DownloadWithRetry(IDownloadEngine[] engines, Uri uri, Stream outputStream, ProgressUpdateCallback progress, CancellationToken cancellationToken, DownloadContext downloadContext, Boolean verifySignature)
    VisualStudio Bootstrapper:2018/12/27 10:18:59: Caught Exception: Type = InvalidSignatureException, Message = Package signature verification threw exception: 调用的目标发生了异常。, for path: vs_installer.opc", StackTrace =    在 Microsoft.VisualStudio.Setup.Download.DownloadManager.DownloadWithRetry(IDownloadEngine[] engines, Uri uri, Stream outputStream, ProgressUpdateCallback progress, CancellationToken cancellationToken, DownloadContext downloadContext, Boolean verifySignature)
    VisualStudio Bootstrapper:2018/12/27 10:18:59: Failed to download. Error : Package signature verification threw exception: 调用的目标发生了异常。, for path: vs_installer.opc"
    VisualStudio Bootstrapper:2018/12/27 10:18:59: Watson: Sending Watson Bucket with:
    VisualStudio Bootstrapper:2018/12/27 10:18:59: Watson: P1  = vs_setup_bootstrapper
    VisualStudio Bootstrapper:2018/12/27 10:18:59: Watson: P2  = 1.18.1042.9589
    VisualStudio Bootstrapper:2018/12/27 10:18:59: Watson: P3  = 
    VisualStudio Bootstrapper:2018/12/27 10:18:59: Watson: P4  = Install
    VisualStudio Bootstrapper:2018/12/27 10:18:59: Watson: P5  = https://aka.ms/vs/15/release/installer
    VisualStudio Bootstrapper:2018/12/27 10:18:59: Watson: P6  = n/a
    VisualStudio Bootstrapper:2018/12/27 10:18:59: Watson: P7  = 0x80096004
    VisualStudio Bootstrapper:2018/12/27 10:18:59: Watson: P8  = 
    VisualStudio Bootstrapper:2018/12/27 10:18:59: Watson: P9  = Microsoft.VisualStudio.Product.Community
    VisualStudio Bootstrapper:2018/12/27 10:18:59: Watson: P10 = VisualStudio.15.Release
    VisualStudio Bootstrapper:2018/12/27 10:18:59: Watson: Including Log : C:\Users\Administrator\AppData\Local\Temp\dd_bootstrapper_20181227100634.log
    VisualStudio Bootstrapper:2018/12/27 10:18:59: Bootstrapper failed.

    请问我该怎么解决,搜索两天了,在线等,谢谢!


    • 已编辑 ll_711 2018年12月27日 3:06
    2018年12月27日 3:05

全部回复

  • 4个小时过去了,还没收到回复,难受,不过在我继续浏览帖子的情况,无意间看到一个意见,就是:把.net framework4.5升级到了最近版,经改正后,现在居然可以了!此帖可以结束了
    2018年12月27日 7:17
  • Hi,

    谢谢你分享的解决方法,也很高兴听到你的问题已经解决。

    你可以标记你的回复作为答案,这样如果其他朋友遇到类似或者相同问题的话,可以很快的找到你分享的解决方法,谢谢。


    MSDN Community Support Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com

    2018年12月27日 8:10
    版主