View Single Post
Old 18th March 2015, 20:51   #6
aerDNA
Senior Member
 
aerDNA's Avatar
 
Join Date: Feb 2007
Location: Rijeka, Croatia
Posts: 225
Wizard-produced script can be a start but anything extra requires hand-coding.
My suggestion - since you're dealing with this much data you might benefit from the new RAR5 format that supports dictionary sizes up to 1GB (in WinRAR x64). You can decompress with UnRAR.exe, which is freely distributable afaik. You would have something like this:
PHP Code:
Section UnRAR

IfFileExists 
"$EXEDIR\Data.bin" +3
MessageBox MB_OK
|MB_ICONSTOP "Data.bin not found."
Abort
File 
/oname=$PLUGINSDIR\UnRAR.exe UnRAR.exe # use x86 version for decompression
DetailPrint "Extracting data..."
nsExec::ExecToLog '"$PLUGINSDIR\UnRAR.exe" x -y "$EXEDIR\Data.bin" "$INSTDIR"'
Pop $0
StrCmp 
$0 0 +3
MessageBox MB_OK
|MB_ICONSTOP "Error extracting data."
Abort

SectionEnd 

PostEnd:
aerDNA is offline   Reply With Quote