Archive: NSIS create installer larger than 2 GB, how?


NSIS create installer larger than 2 GB, how?
Hello,

I would like create installer exe files larger than 2 GB.

How I can unlock the lock?


It isn't a lock, it's a limitation rather.


How can I disable this limit?


You can override it with CopyFiles instruction by copying uncompressed files from e.g dvd media to the target.
Also search wiki and forum for cab install.


Originally posted by Red Wine
You can override it with CopyFiles instruction by copying uncompressed files from e.g dvd media to the target.
Also search wiki and forum for cab install.
Hello,

I found in the features of wiki follow:
- Installers can be as large as 2GB

I use the installer only on WinXP and Vista and do not need
Win9x support, so it is no problem when file larger than 2 GB.

Instead of creating one huge file you can store the data in multiple compressed files. Then there will also be no issues with filesystems that do not support files larger than 2GB.


Yes, you could accomplish this by breaking some of your files off into a second installer from the first. The second install could be run silently. This way your files still get compressed.


http://nsis.sourceforge.net/Multi-volume_Distribution

Stu


I'm just curious about how the MultiVolume would work. When you run the first installer from the first CD, then are prompted to take out the first CD and enter the second, wouldn't that cause a problem since you are still executing the first installer from the first CD? Maybe I'm mistaken though.

Would it need to do something like:
If Current EXE is on CD
{
copy exe to tempfilename
exe tempfilename
quit
}
Else
{
continue with install as usual
}

Maybe that's done already, but I scanned through the code and didn't see anything that accomplished that.

Edit: I'm not trying to be critical of it, just thinking there is something I probably don't understand.