fix(installer): disable single-file compression to prevent WPF startup AV
All checks were successful
Release / release (push) Successful in 30s
All checks were successful
Release / release (push) Successful in 30s
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) <noreply@anthropic.com>
This commit is contained in:
@@ -26,7 +26,10 @@
|
||||
<PublishTrimmed>false</PublishTrimmed>
|
||||
<IncludeNativeLibrariesForSelfExtract>true</IncludeNativeLibrariesForSelfExtract>
|
||||
<IncludeAllContentForSelfExtract>true</IncludeAllContentForSelfExtract>
|
||||
<EnableCompressionInSingleFile>true</EnableCompressionInSingleFile>
|
||||
<!-- Compression disabled: WPF + single-file + compression triggers AV in the
|
||||
bundle extractor (0xc0000005 / COR_E_EXECUTIONENGINE) on some machines.
|
||||
Trade ~30% exe size for reliable startup. -->
|
||||
<EnableCompressionInSingleFile>false</EnableCompressionInSingleFile>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
||||
Reference in New Issue
Block a user