Old 20th March 2008, 10:11   #1
Biarchiv
Member
 
Join Date: Nov 2001
Posts: 50
Unhappy 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?
Biarchiv is offline   Reply With Quote
Old 20th March 2008, 10:40   #2
Red Wine
Forum King
 
Red Wine's Avatar
 
Join Date: Mar 2006
Location: Ath. GR
Posts: 2,078
It isn't a lock, it's a limitation rather.

Quick AVI Creator - Quick and easy convert from DVD/MPEG/AVI/MKV to AVI/MP4/MKV
Quick AVI Creator entirely edited with NSIS and entirely upgraded to Unicode NSIS
Red Wine is offline   Reply With Quote
Old 20th March 2008, 10:56   #3
Biarchiv
Member
 
Join Date: Nov 2001
Posts: 50
How can I disable this limit?
Biarchiv is offline   Reply With Quote
Old 20th March 2008, 11:21   #4
Red Wine
Forum King
 
Red Wine's Avatar
 
Join Date: Mar 2006
Location: Ath. GR
Posts: 2,078
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.

Quick AVI Creator - Quick and easy convert from DVD/MPEG/AVI/MKV to AVI/MP4/MKV
Quick AVI Creator entirely edited with NSIS and entirely upgraded to Unicode NSIS
Red Wine is offline   Reply With Quote
Old 21st March 2008, 11:23   #5
Biarchiv
Member
 
Join Date: Nov 2001
Posts: 50
Quote:
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.
Biarchiv is offline   Reply With Quote
Old 21st March 2008, 12:19   #6
Joost Verburg
NSIS MUI Dev
 
Join Date: Nov 2001
Posts: 3,717
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.
Joost Verburg is offline   Reply With Quote
Old 21st March 2008, 13:50   #7
AaronLS
Senior Member
 
Join Date: Mar 2008
Posts: 129
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.
AaronLS is offline   Reply With Quote
Old 21st March 2008, 18:16   #8
Afrow UK
Moderator
 
Afrow UK's Avatar
 
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
http://nsis.sourceforge.net/Multi-volume_Distribution

Stu
Afrow UK is offline   Reply With Quote
Old 21st March 2008, 20:18   #9
AaronLS
Senior Member
 
Join Date: Mar 2008
Posts: 129
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.

Last edited by AaronLS; 21st March 2008 at 20:36.
AaronLS is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump