Karfax2
19th January 2006 20:51 UTC
Multivolume installation packages - ?
The NSIS can create multivolume installation packages?
I want to create installation package for the program which > 2 Gb.
I want to split the installation package into files in the size on 600 Mb. (Like: setup.exe (600 Mb), setup1.dat (600 Mb), setup2.dat (600 Mb), ...)
It is possible?
kichik
20th January 2006 12:03 UTC
There's no built-in option, but there some solutions. Search the forum and you'll find most of them, like this long thread.
Karfax2
20th January 2006 20:39 UTC
It not that I want.
At use of pluggin does not show percent of extraction of each file.
It is very a pity, that NSIS till now is not able to create multivolume installation packages. :'(
deguix
20th January 2006 20:52 UTC
It's not pity because NSIS would be bigger, if you can understand which point I'm taking. Now, there are alternatives you could use described in the thread kichik indicated.
At use of pluggin does not show percent of extraction of each file.
If you use compression, then the percentage of the extraction process of any file is shown in the installation (at least I think so - probably it shows for bzip2).
Takhir
21st January 2006 06:57 UTC
kichik, so can we wait for uninstallers with fork and self-deletion insted of copy and _? in the command line? ;)
Edited or may be plug-in was written for this?
kichik
21st January 2006 09:25 UTC
Takhir, there is no plug-in that can do that. The plug-in can't be executed at that stage. Best you can do is call the uninstaller with `_?` directly from Add/Remove and handle this yourself. But how is this related to this thread?
Karfax2
21st January 2006 11:30 UTC
If you use compression, then the percentage of the extraction process of any file is shown in the installation (at least I think so - probably it shows for bzip2). [/B]
You have not understood.
For example, I use ZipDLL pluggin. I have next file: install.exe, file1.zip, file2.zip.
In install.exe I use code:
ZipDLL::extractall "file1.zip" "c:\output"
ZipDLL::extractall "file2.zip" "c:\output"
When extraction of files from archive (file1.zip, file2.zip) % of extraction for each file in file1.zip don't showed in Install Details window of installer.
In Install Details window shows only:
Extracting contents of file1.zip to c:\output
Extracting 2 files and directories
Extract: some_file1.dllExtract: some_file2.mpgIf file very big the user can think what the program is "dead".
P.S. Sorry for english. Tried as could. :)
flatface
23rd January 2006 17:58 UTC
I did something similar using 7zip and I used brainsuckers plugin from the thread 7zip dll
This does show a progress bar and compressed even better.
As in the other thread copy and run the installer from the temp folder and save a variable for the CD or DVD drive.
CheckDVD2:
IfFileExists "$DVDdrive\\Files.7z" DVD2
MessageBox MB_ICONINFORMATION
|MB_OKCANCEL "Please insert '${PRODUCT_NAME} - Disc 2' to continue installation." IDOK +3
MessageBox MB_ICONEXCLAMATION|MB_OK "${PRODUCT_NAME} has not been fully installed. Installation cancelled."
Quit
Goto CheckDVD2
DVD2:
SetOutPath "$INSTDIR\\folder"
DetailPrint "Installing Files."
nsis7z::Extract "$DVDdrive\\files.7z"