New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Burn cannot handle MSI package that is larger than 2GiB. #4008
Comments
|
Note that various reports around the internet indicate that the largest size a cabinet file is allowed to grow to is 2GB, and other reports either indicate that the maximum file size is slightly less that 2GB or that incorporating a larger file requires making multiple cabinet files. However, I didn't find anything regarding file sizes on Microsoft's own site, although all of the "file size" arguments to the API/structures are 32-bit unsigned numbers, so it's worth a shot. There is an error return code that means "file size exceeds limits", so a good test should easily verify those limits. Of course, payloads that are marked as |
I am mentioning @AlexKubiesa so (hopefully) I can assign the issue to them. |
@AlexKubiesa That didn't work, please comment here so GitHub will allow me to assign this to you. |
Ok |
While attempting to use Burn to process an MSI package that is larger than 2GiB,
light.exe
produces the following errorThis is most likely due to the fact that an
int
type is used to store the payload size (Microsoft.Tools.WindowsInstallerXml.IPayloadInfo.FileSize
). Usinglong
orulong
may fix this issue.The text was updated successfully, but these errors were encountered: