Hi All,
I need to Create Installer using NSIS larger than 2 gb.
This is the error message I get while I compile
Note: you may have one or two (large) stale temporary file(s) left in your temporary directory (Generally this only happens on Windows 9x).
Awaiting for reply..
How to Create Install larger then 2 gb ?
7 posts
I did not know about this project, thanks Anders.
Do you think it would be possible to merge it into official NSIS?
That would be amazing if we can remove this limitation with simple command!
What do you think @Anders? And @jason ?
Do you think it would be possible to merge it into official NSIS?
That would be amazing if we can remove this limitation with simple command!
What do you think @Anders? And @jason ?
I don't think it's mature enough yet, I really want to add LZ4 to it but I lack the experience in modifying a codec to work in nsis.
The other item I've been thinking about is some sort of file splitting, the obvious size would be 2GB blocks. I would have to add another command to do this, perhaps SetExOutFileBlockSize size, with the basics (2GB, 1GB, 512MB, 256MB). Adding another field to the first header for flags means I could increase the theoretical max size from 8EB to 16EB. I don't know if I'll actually end up doing it though.
The other item I've been thinking about is some sort of file splitting, the obvious size would be 2GB blocks. I would have to add another command to do this, perhaps SetExOutFileBlockSize size, with the basics (2GB, 1GB, 512MB, 256MB). Adding another field to the first header for flags means I could increase the theoretical max size from 8EB to 16EB. I don't know if I'll actually end up doing it though.
I'll be honest, I don't really see the usefulness of split archives. If it is downloaded from the internet you want a single file. If it is on a disc you put the highly compressible files in the installer and copy the rest or use one of the decompress plugins. Inno Setup supports it IIRC so you can use that if you really need it.
Also, trying to go past 8EB is pointless. How are you even going to test it? (NSIS itself will display the wrong number on the directory page if you have more than 4194303 TiB of free space. I'll be dead before anyone hits that bug so I don't really care)
Also, trying to go past 8EB is pointless. How are you even going to test it? (NSIS itself will display the wrong number on the directory page if you have more than 4194303 TiB of free space. I'll be dead before anyone hits that bug so I don't really care)
Yeah, the filesize is purely theoretical, isn't there a 44 bit or 48 bit limit on x86 processors at the moment anyway? I'm just saying the ability is there but we probably won't reach it in our lifetime.
Really the only reason I brought up split archives is for older file system support, FAT32 being the prime example. I know ext4 on linux has a maximum single file size of 16TiB, even that is a huge amount of space that most people don't have (I don't have that yet but I have a NAS server waiting for some harddrives in the future).
Really the only reason I brought up split archives is for older file system support, FAT32 being the prime example. I know ext4 on linux has a maximum single file size of 16TiB, even that is a huge amount of space that most people don't have (I don't have that yet but I have a NAS server waiting for some harddrives in the future).
Also, the reason why I forked NSIS in the first place is because it was unlikely that the nsis developers were going to add this feature any time soon. So for now these will remain separate projects.