View Single Post
  #290  
Old Yesterday, 05:13
kj911 kj911 is offline
Registered User
 
Join Date: Apr 2010
Location: world
Posts: 239
Thanks: 161
Thanked 92 Times in 65 Posts
kj911 is on a distinguished road
SFX and 4GB: This is technically limited, Windows cannot run executable files larger than 4GB. Regardless of whether Windows itself or our EXE file is 32 or 64 bit. I already ran into these limitations when repackaging BMS about 14 years ago. The only way I could overcome this was to get an archive under 4GB in size, thanks to the size of the given ARC archive, a well-chosen set of files and a compression algorithm.

There is only one way to get around this, although I don't know if the SFX stub in Mini Compressor is capable of unpacking the external *.arc archive, if it is next to our SFX file and the file names are the same.

For example, let's rename the classic "freearc-installer.sfx", for example "setup1.exe":

Works:
setup1.exe
setup1.arc

Failed:
setup1.exe
data1.arc

setup1.exe
data\setup1.arc

It may also accept other extensions, the SFX stub.

If the masked compression chain of the given archive is known, you can still get around the problem by creating an installer manually, in CMD or INNOSetup (possibly NSIS). Just make sure you have all the unpacking EXE/DLL files and well-configured cls/arc.ini files. Oh, and what's more important, LOLZ only runs with elevated/administrator rights from the command line under Vista/Win7+, otherwise you'll get CLS error messages. (Under XP, there is usually no such problem. INNO circumvents this by running child processes with elevated/admin rights.)
Reply With Quote