PDA

View Full Version : How do you use srep and precomp?


surumanboy
22-04-2013, 17:57
i have freearc and have selected a folder with my files then went to compression and selected

compression method: maximum
and for
experimental algorithims: precomp+srep
i got to click OK and get an a message in the bottom saying SUCCESFULLY CREATED even though nothing happened. I have precomp and srep in seperate folders just the exe itself but i cant find the commands i need to get a folder to run through it, any help would be appreciated

Razor12911
22-04-2013, 22:06
you can use this parameter

-mprecomp+srep+lzma:a1:mfbt4:d158m:fb273:mc1000:lc8

you can use this command

arc.exe a -ep1 -r -ed -lc- -s; -w.\ "Output\data.cab" -mprecomp+srep+lzma:a1:mfbt4:d158m:fb273:mc1000:lc8 "Folder\*"

surumanboy
23-04-2013, 14:36
im in CMD and typing in the command but keep getting this error


C:\Windows\System32>arc.exe a -ep1 -r -ed -lc- -s; -w.\ "Output\data.cab" -mprec
omp+srep+lzma:a1:mfbt4:d158m:fb273:mc1000:lc8 "DI"
FreeArc 0.67 (December 12 2012) creating archive: Output\data.cab
WARNING: can't read directory "com\dmp"
WARNING: can't read directory "config"
WARNING: can't read directory "Msdtc"
WARNING: can't read directory "NetworkList"
WARNING: can't read directory "Tasks"
WARNING: no files, erasing empty archive
There were 6 warning(s)

im assuming im missing crucial freearc directories but when looking at the folder with my freearc installation these arnt to be found+ it says no files, yet i stated a folder "DI" that does have files in it

Razor12911
25-04-2013, 22:24
hmm, you must make a custom cmd or batch file using notepad.

surumanboy
26-04-2013, 14:47
thanks works great

surumanboy
14-05-2013, 17:46
i finished a script and when i go to install it get the error

Compression method
"srep+lzma:a1:mfbt4:d158m:fb273:mc1000:lc8" of the current
archive "Files.cab" is not supported by the current version of unarc.dll


i assume i need and additional dll for the srep and got one from here

http://encode.ru/threads/622-ISSrep-v0-15-1-(DLL-for-Inno-Setup)

but when i incorporate the code into this one it gives me errors within the script itself.

Razor12911
14-05-2013, 21:15
add arc.ini along with installation