Android Studio - 错误997"重叠IO操作正在进行中"在VC ++ Redistributable安装期间

时间:2015-02-05 10:37:29

标签: android android-studio windows-installer

安装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”安装时,它即将到来。

enter image description here

enter image description here

2 个答案:

答案 0 :(得分:1)

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

积分转到Rami,指出这个简单的解决方案。

答案 1 :(得分:0)

在我的情况下,我创建了新的Windows用户帐户并安装了Android Studio。然后安装成功。我不知道为什么,但它对我有效。