Page 1 of 1

commandline SFX or zip

Posted: 11 Jul 2018 10:56
by TNH
Hi
Can you help me please?
I am using this code to make command line SFX file.
run "C:\Users//\tande\Myp\Zip\peazip-6.6.0\peazip -add2sfx7z ""<selitems>""";
It is working with only one file , when i select more then one file it is doing nothing.
I tried with 7zip SFX with the same result.
When i try to create a zip file from more than one selected file it is creating an empty zip file.
I tried the built in zip_add() command and zip the files and after that run the SFX.
The The zip_add(); is working but the next line the SFX conversation is not in the same script.
Thanks
TN

Re: commandline SFX or zip

Posted: 11 Jul 2018 11:16
by highend

Code: Select all

run """C:\Users\tande\Myp\Zip\peazip-6.6.0\peazip.exe"" -add2sfx7z <selitems>";

Re: commandline SFX or zip

Posted: 11 Jul 2018 17:57
by Nighted
This is what I use for 7-zip.

Code: Select all

"..\7-Zip\App\7-Zip64\7zG.exe" a -sfx7z.sfx "<curbase>".exe -mmt8 -mx