【问题标题】:Android Studio - Error 997 "overlapped IO operation is in progress" during VC++ Redistributable installationAndroid Studio - VC++ Redistributable 安装期间出现错误 997“重叠 IO 操作正在进行”
【发布时间】:2015-02-05 10:37:28
【问题描述】:

在安装 Android Studio 时,我总是在日志中收到以下错误消息 Error 997 "overlapped IO operation is in progress"。这是在安装 Microsoft VC++ Redistributable 的步骤中。

这是日志文件:

OS Version Information: 
         OS Version = 6.2.9200, Platform 2
         OS Description = Future OS - x64 Enterprise Edition 
        OS Version Information 
         Environment details: 
         CommandLine = d:\68972a9195f7b9c35b\Setup.exe /passive /norestart /showfinalerror
        Environment details 
         Entering Function: LocalizedData::CreateLocalizedData
        succeeded
         Entering Function: EngineData::CreateEngineData
         Using Simultaneous Download and Install mechanism
        succeeded
         MaintenanceMode determination: evaluating EnterMaintenanceModeIf
         Exists: evaluating
        Exists evaluated to false
         MaintenanceMode determination evaluates to 'not in maintenance mode'
         Operation Type: 
         Operation: Installing
        Operation Type 
         Package details: Microsoft Visual C++ 2010 x86 Redistributable Setup
         Package Name = Microsoft Visual C++ 2010 x86 Redistributable Setup
         Package Version = 10.0.40219
        Package details 
         User Experience Data Collection Policy: 
         User Experience Data Collection Policy: UserControlled
        User Experience Data Collection Policy 
         Entering Function: UiDataT::CreateUiDataT
        succeeded
         Global Block Checks: Checking for global blockers
         BlockIf: Microsoft Visual C++ 2010 Redistributable is not supported on this operating system.
         And: evaluating
         Equals: evaluating
        Equals evaluated to true
         GreaterThan: evaluating
        GreaterThan evaluated to false
         And evaluated to false
         BlockIf evaluated to false
         BlockIf: A newer version of Microsoft Visual C++ 2010 Redistributable has been detected on the machine.
         And: evaluating
         Equals: evaluating
        Equals evaluated to true
         LessThan: evaluating
        LessThan evaluated to false
         And evaluated to false
         BlockIf evaluated to false
         Global Block Checks no blocking conditions found
         Applicability for Installing: evaluating each item
         Determining state: of d:\68972a9195f7b9c35b\vc_red.cab
         Exists: evaluating
        Exists evaluated to false
         Determining state of d:\68972a9195f7b9c35b\vc_red.cab - available but not verified yet
         Determining state: of d:\68972a9195f7b9c35b\msp_kb2565063.msp
         Exists: evaluating
        Exists evaluated to false
         Determining state of d:\68972a9195f7b9c35b\msp_kb2565063.msp - available but not verified yet
         Determining state: of d:\68972a9195f7b9c35b\vc_red.msi
         Exists: evaluating
        Exists evaluated to false
         Determining state of d:\68972a9195f7b9c35b\vc_red.msi - available but not verified yet
         Determining state: of d:\68972a9195f7b9c35b\vc_red.msi
         Exists: evaluating
        Exists evaluated to false
         Determining state of d:\68972a9195f7b9c35b\vc_red.msi - authored action for this item is NoOp
         Determining state: of d:\68972a9195f7b9c35b\msp_kb2565063.msp
         Exists: evaluating
        Exists evaluated to false
         Determining state of d:\68972a9195f7b9c35b\msp_kb2565063.msp - not applicable 
         Determining state: of MSIServer
        Determining state of MSIServer - payload not required for this item to perform action.
         Exists: evaluating
        Exists evaluated to false
         Exists: evaluating
        Exists evaluated to false
         Exists: evaluating
        Exists evaluated to false
         Applicability for Installing determination is complete
         Applicability Result Count: 
         Number of applicable items: 3
        Applicability Result Count 
         Action: System Requirement Checks
         Action: Disk space check for items being downloaded
        Action complete
         Action: Enumerating incompatible processes
        Action complete
         Action: Enumerating incompatible services
        Action complete
         Action complete
         Action: Downloading and/or Verifying Items
         d:\68972a9195f7b9c35b\vc_red.cab: Verifying signature for vc_red.cab
        d:\68972a9195f7b9c35b\vc_red.cab Signature verified successfully for vc_red.cab
         d:\68972a9195f7b9c35b\vc_red.msi: Verifying signature for vc_red.msi
        d:\68972a9195f7b9c35b\vc_red.msi Signature verified successfully for vc_red.msi
         d:\68972a9195f7b9c35b\msp_kb2565063.msp: Verifying signature for msp_kb2565063.msp
        d:\68972a9195f7b9c35b\msp_kb2565063.msp Signature verified successfully for msp_kb2565063.msp
        Action complete
         Exists: evaluating
        Exists evaluated to false
         Exists: evaluating
        Exists evaluated to false
         Action: Performing actions on all Items
         Action: Performing Action on MSI at d:\68972a9195f7b9c35b\vc_red.msi
          Returning IDOK. INSTALLMESSAGE_ERROR [Error 997.Overlapped I/O operation is in progress. ]
         MSI (d:\68972a9195f7b9c35b\vc_red.msi) Installation failed. Msi Log: Microsoft Visual C++ 2010 x86 Redistributable Setup_20150205_155712703-MSI_vc_red.msi.txt
         PerformOperation returned 1603 (translates to HRESULT = 0x80070643)
        Action complete
         OnFailureBehavior for this item is to Rollback.
         Action: Performing actions on all Items
        Action complete
         Action complete
         Final Result: Installation failed with error code: (0x80070643), "Fatal error during installation. " (Elapsed time: 0 00:00:04).

当安装程序运行“Microsoft Visual C++ 2010 x86 Redistributable Setup”的安装时,它就会出现。

【问题讨论】:

  • 如果您运行 Windows 更新,您在应用更新时是否遇到问题? KB2918614 存在一个已知问题 - 更多信息在这里 support.microsoft.com/kb/2918614
  • 我已经安装了 Windows 更新。但仍然无法安装 Android Studio。它显示在屏幕上方..
  • 我知道你已经成功了,但是如果你需要让原始帐户正常工作,并且它与 MS 更新 KB218614 相关,那么请查看stackoverflow.com/a/28950288/3063884

标签: android android-studio windows-installer


【解决方案1】:

对我来说,安装 .NET Framework 4.6.1 时发生了这种情况,最简单的解决方案(经过 1 天的反复试验)是在开始安装之前重命名文件夹 C:\ProgramData\Microsoft\Crypto\RSA\S-1-5-18。 SQL Server Express 2014 安装也发生了同样的错误,同样的技巧也适用。

感谢 Rami 指出这个简单的解决方案。

【讨论】:

    【解决方案2】:

    就我而言,我创建了新的 Windows 用户帐户并安装了 Android Studio。然后它安装成功。我不知道为什么,但它对我有用。

    【讨论】:

      猜你喜欢
      • 2016-12-29
      • 2014-12-28
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2019-02-06
      • 1970-01-01
      相关资源
      最近更新 更多