From cfec3297a4fec392a8741ee52390120883aae3a3 Mon Sep 17 00:00:00 2001 From: Mika Kuns Date: Wed, 15 Apr 2026 14:48:06 +0200 Subject: [PATCH] fix(installer): disable single-file compression to prevent WPF startup AV MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Published installer was crashing at launch with 0xc0000005 (access violation) and exit code 0x80131506 (COR_E_EXECUTIONENGINE), faulting inside the exe's own bundle-extractor bootstrap before any managed code ran. This is a known interaction between WPF, single-file publish, and EnableCompressionInSingleFile. Disable compression (exe grows ~30% but startup becomes reliable). IncludeAllContentForSelfExtract stays true — WPF still needs on-disk extraction for XAML resources. Co-Authored-By: Claude Opus 4.6 (1M context) --- src/ClaudeDo.Installer/ClaudeDo.Installer.csproj | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/ClaudeDo.Installer/ClaudeDo.Installer.csproj b/src/ClaudeDo.Installer/ClaudeDo.Installer.csproj index 5aa49db..e6be71e 100644 --- a/src/ClaudeDo.Installer/ClaudeDo.Installer.csproj +++ b/src/ClaudeDo.Installer/ClaudeDo.Installer.csproj @@ -26,7 +26,10 @@ false true true - true + + false