0

I have a deployment project, which creates a .cab file of my App for installing it on a Windows Mobile 6.5 PDA. Recently I made the app multillingual. Because of the CabWiz bug(concerning localization), I added my resource files manually via the Add / File... functionality.

Now the size of the created .cab file rises enormously. First, the .cab file was less than 500KB. Now, after adding 1 resource file(about 50KB) the size ist about 2.4MB!

Because of the bigger size I get OutOfMemoryExcepitons during the OTA Update in my App.

Does anyone know, how to prevent that enormous increase of size of the .cab file?

Thanks in advance!

Community
  • 1
  • 1
L C
  • 438
  • 2
  • 10
  • 28
  • I do not know what VS always does when using the Cab Setup project, I create my cabs manually. You should open and browse the cab for example in the trial of OCP Software WinCE Cab Manager or the free software msceInf. I assume the file is added multiple times or the Cab was compressed and now is save uncompressed. – josef Apr 09 '16 at 05:44
  • I recognized, that the deploy project additionally adds the `mscorlib.dll` into that folder where I put that resource dll file. When I open the generated .cab file with WinZip, I can see a `mscorlib.002` with 500KB and a `mscorlib.001` with 4.5MB!! – L C Apr 11 '16 at 11:32
  • Possibly your resource dll has a dependency on mscorlib.whatever. Try to remove the added mscorlib dlls off the setup project. How do you add the resource.dll? – josef Apr 12 '16 at 16:42
  • In addition to the previous comments (removing dependencies that are unnecessary if already on your devices), don't forget to use the `compress` setting during CabWiz process – Nicolas R Aug 29 '16 at 08:22

0 Answers0