The called out exception is for the chunking process. Chunking is where you partition a large file into logical data segments, so you don't need to read the entire ESD file before beginning the extraction. It's like how you divide up MPEG files into small sets of starting key frames.
Since the WIM version installs fine, it's obvious the problem doesn't exist in the image's content.
More likely wimlib's compression is not 100% compatible with whatever Setup's DLL is expecting. I was hoping you would try using 23H2's boot.wim to install the 24H2 ESD, to determine if the DLL version that Setup uses makes a difference or not.
Since the WIM version installs fine, it's obvious the problem doesn't exist in the image's content.
More likely wimlib's compression is not 100% compatible with whatever Setup's DLL is expecting. I was hoping you would try using 23H2's boot.wim to install the 24H2 ESD, to determine if the DLL version that Setup uses makes a difference or not.