Skip to content
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

System.IO.InvalidDataException: Entries larger than 4GB #134

Open
lounsberry opened this issue Oct 29, 2024 · 0 comments
Open

System.IO.InvalidDataException: Entries larger than 4GB #134

lounsberry opened this issue Oct 29, 2024 · 0 comments

Comments

@lounsberry
Copy link

When trying to run this utility, I am getting this error message:

ERROR  System.IO.InvalidDataException: Entries larger than 4GB are not supported in Update mode.
   at System.IO.Compression.ZipArchive.Init(Stream stream, ZipArchiveMode mode, Boolean leaveOpen)
   at System.IO.Compression.ZipFile.Open(String archiveFileName, ZipArchiveMode mode, Encoding entryNameEncoding)
   at Microsoft.Management.Service.IntuneWinAppUtil.ZipUtil.CreateFromDirectory(String sourceDirectoryName, String destinationArchiveFileName, Nullable`1 compressionLevel, Boolean includeBaseDirectory, ReportProgress reportProgress, Boolean useExistingZipFile)
   at Microsoft.Management.Service.IntuneWinAppUtil.ZipUtil.ZipFolder(String folder, String zipFile, AppContext context, Boolean noCompression, Boolean includeBaseDirectory, Boolean appendFile, Boolean useExistingZipFile)
   at Microsoft.Management.Service.IntuneWinAppUtil.PackageUtil.CreatePackage(String folder, String setupFile, String outputFolder, String catalogFolder)
   at Microsoft.Management.Service.IntuneWinAppUtil.Program.Main(String[] args)

I'm using version 1.8.6.0 and the total size of the files in the folder are only 2.87 GB in Windows, so I'm not quite sure where it's getting the 4GB error from. I do see the log entry immediately before it starts removing temp files:

INFO Calculated size for folder <...> is 3084957570 within 4 milliseconds

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant