Skip to content

Windows CLI fails silently on fresh install due to missing Visual C++ Redistributable #9752

Description

@DGU-stallion

Before opening, please confirm:

Operating System

Windows 11

Kiro Version

2.9.0

Bug Description

Kiro CLI executable fails immediately after installation with exit code -1073741515 (0xC0000135 = STATUS_DLL_NOT_FOUND) on Windows systems without Visual C++ Redistributable installed. The failure is silent with no error message, making it difficult for users to diagnose.

The MSI installer completes successfully and adds the CLI path to user PATH, but the executable cannot run due to missing runtime dependencies.

Steps to Reproduce

  1. Install Kiro CLI 2.9.0 using the MSI installer (kiro-cli-x86_64-pc-windows-msvc.msi) on a clean Windows system without Visual C++ Redistributable
  2. Open PowerShell or CMD and run kiro-cli --version
  3. Observe that the command produces no output and exits immediately
  4. Check the exit code: it returns -1073741515 (0xC0000135), indicating STATUS_DLL_NOT_FOUND

Expected Behavior

One of the following should occur:

  1. MSI installer should bundle and install Visual C++ Redistributable as a dependency (preferred solution)
  2. Installer should check for VC++ Redistributable and display a clear error message if missing, with download link
  3. CLI executable should provide a meaningful error message indicating the missing dependency
  4. Installation documentation should clearly list VC++ Redistributable as a prerequisite

Conversation ID

No response

Additional Context

Installation Path: C:\Users\{username}\AppData\Local\Kiro-Cli\kiro-cli.exe

Workaround: Manual installation of Microsoft Visual C++ 2022 Redistributable resolves the issue:
https://aka.ms/vs/17/release/vc_redist.x64.exe

Impact:

  • Blocks first-time CLI usage on clean Windows installations
  • Silent failure makes diagnosis extremely difficult for non-technical users
  • Poor first-run experience for new users
  • PATH is correctly configured but executable cannot run

Technical Details:

  • Exit code: -1073741515 (hex: 0xC0000135)
  • Windows error: STATUS_DLL_NOT_FOUND
  • File size: 536 MB (562748088 bytes)
  • Digital signature: Valid
  • Missing dependency: Microsoft Visual C++ Runtime libraries

Suggested Priority: High - this is a blocking issue for Windows users without dev tools installed

Metadata

Metadata

Assignees

No one assigned

    Type

    Fields

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions