CloakBrowser icon indicating copy to clipboard operation
CloakBrowser copied to clipboard

Windows x64 binary v145.0.7632.109.2: side-by-side configuration error — missing assembly manifest

Open evelaa123 opened this issue 9 months ago • 2 comments

Bug Report

The Windows x64 binary (cloakbrowser-windows-x64.zip, v145.0.7632.109.2) cannot launch on Windows 11. It fails immediately with a side-by-side configuration error.

Environment

  • OS: Windows 11 Pro, build 26200
  • CPU: Intel 12th Gen (Alder Lake), x86_64
  • GPU: NVIDIA RTX 3050 Ti
  • Node.js: v18.20.4
  • Python: 3.10
  • cloakbrowser: v0.3.4 (tested via both npm and pip)
  • VC++ Redistributable: 2015-2022 x64 installed

Steps to reproduce

  1. npm install cloakbrowser playwright-core
  2. Binary auto-downloads successfully (526 MB, SHA-256 verified)
  3. Run:
import { launch } from 'cloakbrowser';
const browser = await launch({ headless: false });
  1. Error: browserType.launch: spawn UNKNOWN

Launching chrome.exe directly also fails:

chrome.exe --version
→ "The application has failed to start because its side-by-side configuration is incorrect."

Root cause analysis (sxstrace)

Ran sxstrace as admin. The embedded manifest in chrome.exe references a non-existent assembly:

Reference: 145.0.7632.109,language="*",type="win32",version="145.0.7632.109"

Windows tries to resolve it and fails:

INFO: Resolving reference 145.0.7632.109,language="*",type="win32",version="145.0.7632.109"
  INFO: Assembly not found in WinSxS.
  INFO: Manifest probe: ...\145.0.7632.109.DLL — not found
  INFO: Manifest probe: ...\145.0.7632.109.MANIFEST — not found
  INFO: Manifest probe: ...\145.0.7632.109\145.0.7632.109.DLL — not found
  INFO: Manifest probe: ...\145.0.7632.109\145.0.7632.109.MANIFEST — not found
  ERROR: Cannot resolve reference 145.0.7632.109,language="*",type="win32",version="145.0.7632.109"
INFO: Activation context generation failed.

The Microsoft.Windows.Common-Controls dependency resolves fine. Only the 145.0.7632.109 assembly reference is broken.

What I tried

  • ✅ VC++ Redistributable 2010, 2012, 2013, 2015-2022 — all installed
  • ✅ Windows Defender exclusion added for ~/.cloakbrowser/
  • ✅ Created external chrome.exe.manifest without the bad dependency — no effect (embedded manifest takes precedence)
  • ✅ Re-downloaded zip from GitHub Releases — same result
  • ✅ Verified file integrity — chrome.exe is 3,771 KB, SHA-256 checksum matches

Expected behavior

chrome.exe should launch without requiring an external assembly manifest, same as the Linux and macOS builds.

Suggestion

It looks like the Windows build embeds a manifest with a self-referencing assembly dependency (145.0.7632.109 referencing itself). This dependency should either be removed from the manifest or the corresponding .manifest file should be included in the zip alongside chrome.exe.

Additional context

This is the first Windows x64 release (shipped ~March 3, 2026). Linux x64 and macOS builds work correctly. The issue affects both Node.js and Python wrappers since both use the same binary.

evelaa123 avatar Mar 04 '26 06:03 evelaa123

Thanks for the report. The Windows zip was missing a required manifest file. We've pushed a fix to the same release.

To fix your install:

  1. Delete the cached binary: rmdir /s /q %USERPROFILE%\.cloakbrowser\chromium-145.0.7632.109.2
  2. Re-run your script — it will auto-download the fixed zip

Or download manually from GitHub Releases and extract to %USERPROFILE%\.cloakbrowser\chromium-145.0.7632.109.2\.

Let us know if it works.

Cloak-HQ avatar Mar 04 '26 07:03 Cloak-HQ

Thanks, that worked!

evelaa123 avatar Mar 04 '26 08:03 evelaa123