Old 6th August 2003, 15:31   #1
chienpin
Junior Member
 
Join Date: Mar 2003
Posts: 4
Total Files over 1GB

If Total File Over 1GB...
How can i do...
Who can give my some sample...
Thanks!!
chienpin is offline   Reply With Quote
Old 6th August 2003, 15:39   #2
Afrow UK
Moderator
 
Afrow UK's Avatar
 
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
You want to compress a 1gb file into the installer?
That can be done yes.

Just use:
code:
Section "Install main file"
SetOutPath "$INSTDIR"
File "C:\1gb-file.ext" ;to be compressed and extracted to $INSTDIR
SectionEnd



-Stu
Afrow UK is offline   Reply With Quote
Old 6th August 2003, 16:05   #3
Joost Verburg
NSIS MUI Dev
 
Join Date: Nov 2001
Posts: 3,717
If have problems with the compilation of large files, see
http://nsis.sourceforge.net/site/ind...&tx_faq_faq=15
Joost Verburg is offline   Reply With Quote
Old 6th August 2003, 17:20   #4
Afrow UK
Moderator
 
Afrow UK's Avatar
 
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
Nice new website

GJ!!!

-Stu
Afrow UK is offline   Reply With Quote
Old 7th August 2003, 02:37   #5
chienpin
Junior Member
 
Join Date: Mar 2003
Posts: 4
Sorry~~~
I want
disk1 500MB...
disk2 500MB...
chienpin is offline   Reply With Quote
Old 7th August 2003, 07:50   #6
Sunjammer
Major Dude
 
Join Date: Jun 2002
Location: Swindon, UK
Posts: 559
There is no automatic disk spanning in NSIS (yes it has been requested before) so you'd have to achieve this by:
  • NSIS installer on disk 1, files on disk 1 and disk 2, use CopyFiles to install them from the install disks to the user disk.
  • NSIS installer on disk 1 including the disk 1 files using File, files on disk 2 should be installed using CopyFiles.
  • Two NSIS installers, one one disk 1 and one on disk 2, use the File command to pack the files into the installers, installer 1 runs installer 2 after first requesting a disk change (if necessary).
Note: For all suggestions YOU are responsible for deciding which files go on disk 1 and which files go on disk 2.

Disk spanning has been discussed many times on this forum before, I suggest you search for more information. No doubt others will post with more suggestions for you here too!
Sunjammer 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