![]() |
How to use cls-diskspan with installer
How can i integrate cls-diskspan with my installer so that it won't ask for the second disk everytime ? I am trying to use it with Simple Installer https://fileforums.com/showthread.php?t=104745 , since in this normally i don't have to specify the archives, it always asks me to specify the second archive and then crashes. How can i write the record.ini and use this with the installer
|
I found some versions of diskspan very temperamental, I use the following hashed version for the best results, make sure you're only specifying the first archive in the diskspan converted output, and to not rename the outputs to anything other than the initial output. For my archives I use "l33t-XXX-1.bin" as the output, diskspan will then use that numbering for subsequent split outputs.
Code:
MD5: 255783423af3f6e9513d6600685d51c8The record.ini entry would look something like this if you're struggling. Code:
[Record24] |
Quote:
If i use [ arc.exe a -i1 -ds -ep1 -r -s; -ed -w.\_Temp -m=xtool+srep+lolz+diskspan:2gb _Output\data-1.bin "_Pack\*"] to make the split the archives , what to do with this part in the installer.... if ISDoneInit(ExpandConstant('{tmp}\record.ini'), $F777, 0, 0, 0, MainForm.Handle, 512, @ProgressCallback) and FileSearchInit(True) then begin ExtractTemporaryFile('ENGLISH.INI'); ChangeLanguage('English'); repeat if ISArcExtract(0, 0, ExpandConstant('{src}\*{#myextension}'), ExpandConstant('{app}'), '', False, '', ExpandConstant('{tmp}\Arc.ini'), ExpandConstant('{app}'), False) then ISDoneError := False else Break; until True; ISDoneStop; end; Currently for single disk it works just fine but for multiple it always asks for the second disk |
| All times are GMT -7. The time now is 17:40. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
FileForums @ https://fileforums.com