login about faq


We are adding ZIP file to EXE (AddEmbedded). This usually works very nicely, however it appears to cause problems when total size of zip exceeds some limit.

The LastErrorText below is from a EXE containing zip with 6 large files, that totals to 2.6 GB unzipped (~700 MB zipped). There is no problem adding ZIP to EXE file. Problem encountered is a "Out of Memory" error on "OpenMyEmbedded".

    DllDate: Jun 23 2015
    UnlockPrefix: ABILIAZIP
    Username: SOME_PC:meg.selv
    Architecture: Little Endian; 32-bit
    Language: Visual C++ 12.0 (32-bit)
    VerboseLogging: 0
    oemCodePage: 1200
    Failed to map view of file
    filename: C:\Temp\83LargeVideos.exe
    Failed to open my EXE

Any help is appreciated.

Many thanks Hakon

asked Aug 18 '15 at 03:36

Hakon's gravatar image


edited Aug 19 '15 at 02:22

The zip.AddEmbedded, OpenEmbedded, ReplaceEmbedded, RemoveEmbedded, etc. methods are quite old and work by inserting the .zip as a resource in the EXE. Unfortunately, there are limits to the size. I don't know the exact limits. The MS Platform SDK that fails because of the size is MapViewOfFile (https://msdn.microsoft.com/en-us/library/windows/desktop/aa366761%28v=vs.85%29.aspx) I'm sorry to say that this is not something that would be pursued.


answered Aug 19 '15 at 20:00

chilkat's gravatar image

chilkat ♦♦

Thank you for your reply. I suspected something like that was the reason.

(Aug 24 '15 at 02:43) Hakon
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: Aug 18 '15 at 03:36

Seen: 799 times

Last updated: Aug 24 '15 at 02:43

powered by OSQA