|
|
#1 |
|
Junior Member
Join Date: Sep 2006
Posts: 6
|
Split Installer
Hello
![]() I just wanted to compile my installer, but i got the compiler error #12345. I found out, that it's because the files are bigger than 2GB. How can i split the files into 2 files? For example: setup.exe (<2GB) data.zip (the rest) So the installer uses the zip to unpack the rest of the files... greets, pete |
|
|
|
|
|
#2 |
|
Moderator
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
|
|
|
|
|
|
|
#3 |
|
Member
Join Date: Jan 2006
Location: Canberra, Australia
Posts: 76
|
The CABSetup plugin is built to handle these types of installers.
You can find it here: http://nsis.sourceforge.net/CABSetup_plug-in Duncan |
|
|
|
|
|
#4 | |
|
Junior Member
Join Date: Sep 2006
Posts: 6
|
Quote:
![]() I'm currently not able to open the nsis-website, but the cabsetup seems to be, what i'm looking for ... Thanks again ![]() greets |
|
|
|
|
|
|
#5 |
|
Senior Member
Join Date: Jan 2005
Location: Look behind you.
Posts: 209
|
You should probably be aware that the compression in .CAB files sucks. The algorithm hasn't been changed since Windows 95 (3.x?). You're probably better off using 7-zip compression, plus if you use 7-zip compression and you need a good way to handle licensing for your program, you can encrypt the archives using the users' registration key.
-dandaman32 ExperienceUI for NSIS | Latest project: Enano CMS Do not PM me on the Winamp forums, I hardly ever check my messages here; you are more likely to get my attention through the ExperienceUI forum.
|
|
|
|
|
|
#6 |
|
Major Dude
Join Date: May 2003
Posts: 681
|
splitting into 2gb+rest files is really usefull if you want to download it from web <sncr>
and for dvd it makes no sense. Greets, Brummelchen |
|
|
|
|
|
#7 |
|
Junior Member
Join Date: Sep 2006
Posts: 6
|
the compression isnt really important!
it's only for some friends and i just saw, that the files are exactly 4.7GB, so i can burn it on dvd ![]() okay, i'll try 7zip too thanks for your answers
|
|
|
|
|
|
#8 |
|
Member
Join Date: Jan 2006
Location: Canberra, Australia
Posts: 76
|
Compared to 7-Zip compression, the LZMA compression used in CAB files can be poor, for some files.
Files that are going to compress well or poorly are likely to do so regardless of the algorithm used (try comparing compressing already compressed files using two different archive programs, the difference is likely to be < 5%.) Across a couple of CDs or DVDs, this isn't likely to matter. If conserving space is of major concern, use 7-Zip to compress the files and CABSetup to contain the resulting archives to manage the disk handling; I have seen modern installers do this type of action where they use InstallShield to carry the files and use some other software to unpack them once they are on the user's hard drive. I could modify CABSetup to enable the caller to turn compression off so files are not double-compressed to support this behaviour. (In fact, it sounds like a handy option, so I think I will do it anyway.) Microsoft MSI installers use the same library functions that CABSetup does to compress their file databases; that was one of the reasons for using them for the plug-in - to give NSIS a capability it didn't have, using something that was likely to have support (at least on the Windows platforms.) Anyway, the next release of CABSetup is soon, I have spent the last couple of days ironing out a few bugs - the change has been substantial, and should be a big improvement on version 1.1. Duncan |
|
|
|
|
|
#9 |
|
Major Dude
Join Date: May 2003
Posts: 681
|
CABsetup
http://forums.winamp.com/showthread.php?threadid=239456 http://nsis.sourceforge.net/CABSetup_plug-in hth Greets, Brummelchen |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|