I am using Wix Toolset 3.11 and am attempting to create a Wix bootstrapper that is installing a very large prerequisite to my software - a legacy InstallShield executable with ~5000 associated files found in ~600 folders. I have compressed all these files into a single self-extracting archive that is approximately 3GB. I am getting the following error when attempting to build:
light.exe(0,0): error LGHT0001: Arithmetic operation resulted in an overflow.
Here is my current relevant XML in the bootstrapper:
<Chain>
<PackageGroupRef Id="MyPrerequisites"/>
<PackageGroupRef Id="ReallyBigExe"/>
<PackageGroupRef Id="OtherStuff"/>
</Chain>
<Fragment>
<util:RegistrySearch Id=ReallyBigExeFound" Key="Assume searching stuff is here"/>
<PackageGroup Id=ReallyBigExe">
<ExePackage InstallCondition="ReallyBigExeFound"
Compressed="no"
DisplayName="Install Really Big Thing"
Permanent="no"
SourceFile="Packages\ReallyBigThing.exe"
Name="ReallyBigThing.exe"/>
</PackageGroup>
</Fragment>
I've tried different variants of compressed, cached, name, etc and all result in the same error. I'm aware that this is due to the large file size of the included exe; see the Github Issue here.
I've also seen that detached containers are supposed to help with this issue. I have tried several combinations of using the container with my PackageGroup, also to no avail.
So, the question: How do I include this really big exe package with my installer in a way that lets me install it in the package chain, but does not embed it in the bootstrap data files?