Archive: Multi CD


Multi CD
Hello :D How to copy files form cd's with specified names ?. For example i want to copy file1.exe from cd named "cd1" & file2.dat from cd named "cd2", mybe i can use some id file but how?


Maybe you can check for a certain file to identify the CD.


Ok but how to check for id file on diferend cd's. Better method will be to check tor cd name and then copy files from this cd


I remembered I have once seen a thread about CDs, and I did, but it too is yours :D

As far as I know, this can't be done using NSIS alone, maybe it is written somewhere in the registry, but I don't know of such place. The best solution would be writing a small DLL that calls GetVolumeInformation and returns the label of the CD.

You can always use IfFileExists too... It will be easier for people to install from one directory if they feel like copying the whole thing to a network drive or something.


You can write an extension DLL to get the CD label, but it's easier to add a unique file to each CD to identify it.


Ok but only problem is i don't know how to write dll's :) So only what i can do is waiting for solution..............


Attached. See the readme for details (GetDriveLabel and GetDriveFS).


THX I'll try it.


how about to add a split-installer feature to NSIS? (like zip or rar splited archives)

-trace