"Microsoft.VC90.CRT" error during installation of 0patch Agent

Mitja Kolsek -

Some users have reported an error like this occurring during installation of 0patch Agent.

 

image001.png

 

In all cases, this problem was resolved by one of these actions:

  1. Check if your "Windows Modules Installer" service is running. You can do that by opening Windows Command Prompt (cmd.exe) and typing "sc query trustedinstaller". If the state of the service isn't "RUNNING", you can start it by typing "net start trustedinstaller". After verifying the service is running try installing again.
  2. Manually install Microsoft Visual C++ 2008 SP1 Redistributable Package which you can download here: https://www.microsoft.com/en-us/download/details.aspx?id=26368
  3. Uninstall all Microsoft Visual C++ Redistributable Packages

 

Have more questions? Submit a request

5 Comments

  • 0
    Avatar
    chris.woo

    Download no longer available according to MS.

  • 0
    Avatar
    Mitja Kolsek

    chris.woo Thank you for alerting us. Apparently Microsoft has issued a new version of redistributables due to a security flaw in the previous version. We have updated the link accordingly.

  • 0
    Avatar
    cloudstudy.32zx

    Hello, 

    My trustedinstaller was not started as the directions stated, so I started it. This did not fix the issue. 

    2008 SP1 is available from the microsoft website but will not install. I get the exact same error when trying to install 0patch as I do trying to install 2008 SP1 as stated in the instructions

    Finally, I'm going to try uninstalling all .NET and C++ and then reinstall to see what happens.

    This issue started after 1) I updated windows and got a black screen (no log on screen) after my MSI logo appears during boot. So, I ran a system restore to which a lot of things were missing or needed reinstalled. One was 0patch and well.. I just can't get it installed because of this vc90 error. 

  • 0
    Avatar
    Mitja Kolsek

    Hi cloudstudy.32zx, thank you for reporting this. We have no new information regarding troubleshooting this problems. Please let us know if the uninstalls/reinstalls helped.

  • 0
    Avatar
    cloudstudy.32zx

    Hello, 

    I think in WinSxS there are already files there and that is stopping the installation of certain programs. I think this is caused by either ChkDsk or perhaps System Restore. I've recently done both on my system as a result of a black screen error at start up. After the manufacturers log, the windows log on screen should appear but it does not. I get a black screen. So, booting into recovery, and then a system restore fixed the issue. 0patch however, was not installed after the restore so I tried to install it and I'm getting the VC90 issue. 

    Here is a CBS log:

    2024-09-22 09:50:58, Info                  CBS    TI: --- Initializing Trusted Installer ---
    2024-09-22 09:50:58, Info                  CBS    TI: Last boot time: 2024-09-15 12:56:46.500
    2024-09-22 09:50:58, Info                  CBS    Starting TrustedInstaller initialization.
    2024-09-22 09:50:58, Info                  CBS    Lock: New lock added: CCbsPublicSessionClassFactory, level: 30, total lock:4
    2024-09-22 09:50:58, Info                  CBS    Lock: New lock added: CCbsPublicSessionClassFactory, level: 30, total lock:5
    2024-09-22 09:50:58, Info                  CBS    Lock: New lock added: WinlogonNotifyLock, level: 8, total lock:6
    2024-09-22 09:50:58, Info                  CBS    Ending TrustedInstaller initialization.
    2024-09-22 09:50:58, Info                  CBS    Starting the TrustedInstaller main loop.
    2024-09-22 09:50:58, Info                  CBS    TrustedInstaller service starts successfully.
    2024-09-22 09:50:58, Info                  CBS    No startup processing required, TrustedInstaller service was not set as autostart
    2024-09-22 09:50:58, Info                  CBS    Startup processing thread terminated normally
    2024-09-22 09:50:58, Info                  CBS    TI: Startup Processing completes, release startup processing lock.
    2024-09-22 09:51:26, Info                  CBS    Starting TiWorker initialization.
    2024-09-22 09:51:26, Info                  CBS    Lock: New lock added: TiWorkerClassFactory, level: 30, total lock:2
    2024-09-22 09:51:26, Info                  CBS    Ending TiWorker initialization.
    2024-09-22 09:51:26, Info                  CBS    Starting the TiWorker main loop.
    2024-09-22 09:51:26, Info                  CBS    TiWorker starts successfully.
    2024-09-22 09:51:26, Info                  CBS    Lock: New lock added: CCbsWorker, level: 5, total lock:3
    2024-09-22 09:51:26, Info                  CBS    TiWorker: Client requests SxS store object.
    2024-09-22 09:51:26, Info                  CBS    Universal Time is: 2024-09-22 13:51:26.390
    2024-09-22 09:51:26, Info                  CBS    Loaded Servicing Stack v10.0.22621.4166 with Core: C:\Windows\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.22621.4166_none_e96b0c1842c424f9\cbscore.dll
    2024-09-22 09:51:26, Info                  CBS    Build: 22621.1.amd64fre.ni_release.220506-1250
    2024-09-22 09:51:26, Info                  CSI    00000001@2024/9/22:13:51:26.391 WcpInitialize: wcp.dll version 10.0.22621.4166 (WinBuild.160101.0800)
    2024-09-22 09:51:26, Info                  CBS    TurboContainer load Successful
    2024-09-22 09:51:26, Info                  CBS    Lock: New lock added: CCbsSessionManager, level: 11, total lock:9
    2024-09-22 09:51:26, Info                  CBS    Lock: New lock added: CSIInventoryCriticalSection, level: 64, total lock:10
    2024-09-22 09:51:26, Info                  CBS    NonStart: Set pending store consistency check.
    2024-09-22 09:51:26, Info                  CSI    00000002 IAdvancedInstallerAwareStore_ResolvePendingTransactions (call 1) (flags = 00000004, progress = NULL, phase = 0, pdwDisposition = @0x9bcecfe360
    2024-09-22 09:51:26, Info                  CSI    00000003 Poqexec successfully registered in [l:12 ml:13]'SetupExecute'
    2024-09-22 09:51:26, Info                  SXS    Install Assembly from C:\Windows\WinSxS\InstallTemp\20240922095126096.0\amd64_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.6161_x-ww_63af3423.manifest
    2024-09-22 09:51:26, Info                  SXS    TurboStack version 10.0.22621.4166 (WinBuild.160101.0800) loaded from C:\Windows\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.22621.4166_none_e96b0c1842c424f9
    2024-09-22 09:51:26, Info                  CSI    00000004@2024/9/22:13:51:26.506 WcpInitialize: wcp.dll version 10.0.22621.4166 (WinBuild.160101.0800)
    2024-09-22 09:51:26, Info                  SXS    Submitting fusion transaction
    2024-09-22 09:51:26, Info                  SXS    Installing new component Microsoft.VC90.CRT, version 9.0.30729.6161, arch amd64, versionScope neutral, pkt {l:8 b:1fc8b3b9a1e18e3b}, type [l:5]'win32', reference: SIAW_
    2024-09-22 09:51:26, Info                  SXS    Found unexpected existing component path for Microsoft.VC90.CRT, version 9.0.30729.6161, arch amd64, versionScope neutral, pkt {l:8 b:1fc8b3b9a1e18e3b}, type [l:5]'win32' even though it was reported as not installed. Overwriting existing install.
    2024-09-22 09:51:26, Error                 CSI    00000005@2024/9/22:13:51:26.522 (F) onecore\base\wcp\sil\ntsystem.cpp(4098): Error STATUS_DIRECTORY_NOT_EMPTY originated in function Windows::Rtl::SystemImplementation::DirectFileSystemProvider::SysSetInformationFile expression: (null)
    [gle=0x80004005]
    2024-09-22 09:51:26, Error                 CSI    00000006 (F) STATUS_DIRECTORY_NOT_EMPTY #427# from Windows::Rtl::SystemImplementation::DirectFileSystemProvider::SysSetInformationFile(flags = 0x00000400, h = 3a8 ('\Device\HarddiskVolume3\Windows\WinSxS\Fusion\amd64_microsoft.vc90.crt_1fc8b3b9a1e18e3b_none_a28692199dcba471\9.0\9.0.30729.6161'), iosb = @0x9bcecfd040, buff = @0x9bcecfd018, bufflen = 1, ic = 13, disp = Invalid)
    [gle=0xd0000101]
    2024-09-22 09:51:26, Error                 CSI    00000007 (F) STATUS_DIRECTORY_NOT_EMPTY #425# from Windows::Rtl::SystemImplementation::MarkFileDeletePending(...)[gle=0xd0000101]
    2024-09-22 09:51:26, Error                 CSI    00000008 (F) STATUS_DIRECTORY_NOT_EMPTY #424# from Windows::Rtl::SystemImplementation::CSystemIsolationLayer_IRtlSystemIsolationLayerTearoff::DeleteFilesystemFile(flags = (OpenForBackupIntent|DeleteIfReadOnly|MissingFileIsOk), fn = [l:108]'\SystemRoot\WinSxS\Fusion\amd64_microsoft.vc90.crt_1fc8b3b9a1e18e3b_none_a28692199dcba471\9.0\9.0.30729.6161', disp = Invalid)
    [gle=0xd0000101]
    2024-09-22 09:51:26, Info                  CSI    00000009 Error STATUS_DIRECTORY_NOT_EMPTY while executing operation MoveFile on [l:259]'\SystemRoot\WinSxS\InstallTemp\{D1AA4737-7198-4280-9977-A920CD724DAD}\amd64_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.6161_none_08e61857a83bc251\, \SystemRoot\WinSxS\Fusion\amd64_microsoft.vc90.crt_1fc8b3b9a1e18e3b_none_a28692199dcba471\9.0\9.0.30729.6161'

    2024-09-22 09:51:26, Error                 SXS    Failure in applying primitives, -1073741567 0 2 0 \SystemRoot\WinSxS\InstallTemp\{D1AA4737-7198-4280-9977-A920CD724DAD}\amd64_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.6161_none_08e61857a83bc251\, \SystemRoot\WinSxS\Fusion\amd64_microsoft.vc90.crt_1fc8b3b9a1e18e3b_none_a28692199dcba471\9.0\9.0.30729.6161
    2024-09-22 09:51:26, Error                 SXS    WIL Origination: onecore\base\servicing\turbostack\lib\fusion.cpp(357)\TurboStack.dll!00007FFA0A19528F: (caller: 00007FFA1E86690E) Exception(1) tid(3354) C0000101 Indicates that the directory trying to be deleted is not empty.

    2024-09-22 09:51:26, Error                 CSI    0000000a@2024/9/22:13:51:26.523 (F) onecore\base\servicing\turbostack\lib\fusion.cpp(357): Error HRESULT_FROM_WIN32(145) originated in function (null) expression: (null)
    [gle=0x80004005]
    2024-09-22 09:51:26, Error                 SXS    WIL Origination: onecore\base\servicing\turbostack\lib\fusion.cpp(379)\TurboStack.dll!00007FFA0A21FF60: (caller: 00007FFA1E86690E) ReturnNt(1) tid(3354) C0000101 Indicates that the directory trying to be deleted is not empty.
        Msg:[onecore\base\servicing\turbostack\lib\fusion.cpp(357)\TurboStack.dll!00007FFA0A19528F: (caller: 00007FFA1E86690E) Exception(1) tid(3354) C0000101 Indicates that the directory trying to be deleted is not empty.

    2024-09-22 09:51:26, Error                 CSI    0000000b@2024/9/22:13:51:26.523 (F) onecore\base\servicing\turbostack\lib\fusion.cpp(379): Error HRESULT_FROM_WIN32(145) originated in function (null) expression: (null)
    [gle=0x80004005]
    2024-09-22 09:51:26, Error                 SXS    Finalize failed with 0x80070091
    2024-09-22 09:51:26, Info                  CSI    0000000c Direct SIL provider: Number of files opened: 30.
    2024-09-22 09:51:27, Info                  CBS    TiWorker: Client requests SxS store object.
    2024-09-22 09:51:27, Info                  SXS    Uninstall Assembly: policy.9.0.Microsoft.VC90.CRT,version="9.0.30729.6161",publicKeyToken="1fc8b3b9a1e18e3b",processorArchitecture="amd64",type="win32-policy"
    2024-09-22 09:51:27, Info                  SXS    TurboStack version 10.0.22621.4166 (WinBuild.160101.0800) loaded from C:\Windows\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.22621.4166_none_e96b0c1842c424f9
    2024-09-22 09:51:27, Info                  CSI    0000000d@2024/9/22:13:51:27.758 WcpInitialize: wcp.dll version 10.0.22621.4166 (WinBuild.160101.0800)
    2024-09-22 09:51:27, Error                 SXS    Cannot remove component that is not installed, policy.9.0.Microsoft.VC90.CRT, version 9.0.30729.6161, arch amd64, versionScope neutral, pkt {l:8 b:1fc8b3b9a1e18e3b}, type [l:12]'win32-policy', reference: SIAW_
    2024-09-22 09:51:27, Error                 SXS    WIL Origination: onecore\base\servicing\turbostack\lib\fusion.cpp(404)\TurboStack.dll!00007FFA0A194A44: (caller: 00007FFA1E866A6D) Exception(2) tid(3354) C0150009 A component version required by the application conflicts with another component version already active.

    2024-09-22 09:51:27, Error                 CSI    0000000e@2024/9/22:13:51:27.758 (F) onecore\base\servicing\turbostack\lib\fusion.cpp(404): Error HRESULT_FROM_WIN32(14008) originated in function (null) expression: (null)
    [gle=0x80004005]
    2024-09-22 09:51:27, Error                 SXS    WIL Origination: onecore\base\servicing\turbostack\lib\fusion.cpp(294)\TurboStack.dll!00007FFA0A21FEDC: (caller: 00007FFA1E866A6D) ReturnNt(2) tid(3354) C0150009 A component version required by the application conflicts with another component version already active.
        Msg:[onecore\base\servicing\turbostack\lib\fusion.cpp(404)\TurboStack.dll!00007FFA0A194A44: (caller: 00007FFA1E866A6D) Exception(2) tid(3354) C0150009 A component version required by the application conflicts with another component version already active.

    2024-09-22 09:51:27, Error                 CSI    0000000f@2024/9/22:13:51:27.758 (F) onecore\base\servicing\turbostack\lib\fusion.cpp(294): Error HRESULT_FROM_WIN32(14008) originated in function (null) expression: (null)
    [gle=0x80004005]
    2024-09-22 09:51:27, Info                  CSI    00000010 Direct SIL provider: Number of files opened: 5.
    2024-09-22 09:51:27, Info                  CBS    TiWorker: Client requests SxS store object.
    2024-09-22 09:51:27, Info                  SXS    Uninstall Assembly: Microsoft.VC90.CRT,version="9.0.30729.6161",publicKeyToken="1fc8b3b9a1e18e3b",processorArchitecture="amd64",type="win32"
    2024-09-22 09:51:27, Info                  SXS    TurboStack version 10.0.22621.4166 (WinBuild.160101.0800) loaded from C:\Windows\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.22621.4166_none_e96b0c1842c424f9
    2024-09-22 09:51:27, Info                  CSI    00000011@2024/9/22:13:51:27.760 WcpInitialize: wcp.dll version 10.0.22621.4166 (WinBuild.160101.0800)
    2024-09-22 09:51:27, Error                 SXS    Cannot remove component that is not installed, Microsoft.VC90.CRT, version 9.0.30729.6161, arch amd64, versionScope neutral, pkt {l:8 b:1fc8b3b9a1e18e3b}, type [l:5]'win32', reference: SIAW_
    2024-09-22 09:51:27, Error                 SXS    WIL Origination: onecore\base\servicing\turbostack\lib\fusion.cpp(404)\TurboStack.dll!00007FFA0A194A44: (caller: 00007FFA1E866A6D) Exception(3) tid(3354) C0150009 A component version required by the application conflicts with another component version already active.

    2024-09-22 09:51:27, Error                 CSI    00000012@2024/9/22:13:51:27.761 (F) onecore\base\servicing\turbostack\lib\fusion.cpp(404): Error HRESULT_FROM_WIN32(14008) originated in function (null) expression: (null)
    [gle=0x80004005]
    2024-09-22 09:51:27, Error                 SXS    WIL Origination: onecore\base\servicing\turbostack\lib\fusion.cpp(294)\TurboStack.dll!00007FFA0A21FEDC: (caller: 00007FFA1E866A6D) ReturnNt(3) tid(3354) C0150009 A component version required by the application conflicts with another component version already active.
        Msg:[onecore\base\servicing\turbostack\lib\fusion.cpp(404)\TurboStack.dll!00007FFA0A194A44: (caller: 00007FFA1E866A6D) Exception(3) tid(3354) C0150009 A component version required by the application conflicts with another component version already active.

    2024-09-22 09:51:27, Error                 CSI    00000013@2024/9/22:13:51:27.761 (F) onecore\base\servicing\turbostack\lib\fusion.cpp(294): Error HRESULT_FROM_WIN32(14008) originated in function (null) expression: (null)
    [gle=0x80004005]
    2024-09-22 09:51:27, Info                  CSI    00000014 Direct SIL provider: Number of files opened: 5.

Please sign in to leave a comment.