I am using Ionic.Zip 18.104.22.168 to create self extractor exe. And I am able to run them on 64 bit operating systems. But once I run the same (which has size under 4GB..lets say 2.8 GB), I get some times error telling cannot find compatible framework version not
found. But if I install the .NET Framework 4.5 (I tried on Windows 7 ), then it throws SHIM error (which microsoft says gets thrown if you run an app which is build for "x" platform and trying to run on "y".
The latter looks to me like on specific conditions the extraction happens with 64 bit mode enabled (not sure though).
ZipFile zip = new ZipFile();
zip.UseZip64WhenSaving = Zip64Option.Never;
zip.UseZip64WhenSaving = Zip64Option.Always;
I did as above but it still not helping me and the sfx options also doesnt have anything useful. Strange thing is that everything works well in both 32bit OS and 64bit OS until the exe size is under 2GB. 32Bit takes a toll after that. Any thoughts would be