NSIS64 (special nsis built with large file support,beyond the 2GB limit!)

I built a customized build of nsis. it has following features
1. support single file installer up to 4GB, due to windows os limit, it’s the deadline of an exe file size.
2. support single or multi data file, it extends the nsis installer size to nearly no limit, thousands of PB!

there is two new commands:
1. setdatafile off/auto/force, default is auto
off: don’t use data file, the final output will be a single file, however, if the file size is larger than 4GB, it could not be loaded by the windows os.
auto: nsis will try to generate output in the range of FileSize, when the FileSize equals to 0, the limit is 4GB.
force: no matter there’s how many data in the installer, nsis always store the data into data file(s).
2. filesize file_size_in_mb
the parameter is the max file size in MB. it’s 0 by default.
it applies to both exe file and data file at the same time.

following is some cases:
case 0: the total size is 3GB,while the filesize setting is 2000MB. and setdatafile is auto.
the final output will be one small exe file, one 2000MB data file, and one 1000MB data file.
case 1: the total size is 3.99GB, while the filesize setting is 0. and setdatafile is auto.
the final output will be a big exe file pnly which has 3GB data.
case 2: the total size is 9GB,while the filesize setting is 0. and setdatafile is off.
the final output will be a big exe file pnly which has 9GB data.
case 3: the total size is 30MB, while the filesize setting is 10MB. and setdatafile is auto.
you will get one small exe file, three 10MB data files.
case 4: the total size is 30MB, while the filesize setting is 0. and setdatafile is force.
you will get one small exe file, one 30MB data files.

Advertisements

5 thoughts on “NSIS64 (special nsis built with large file support,beyond the 2GB limit!)

  1. Hi.. Nice to see ur blog.. how to setup this, i have VM Ware which is 3.6 tar.gz file.. want to create a installer with this.. I already have NSIS installed..

    it says error File size not found.

    Could you please help..

    Thank You.

    Like

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s