View Single Post
  #3  
Old 14-11-2011, 20:56
pakrat2k2's Avatar
pakrat2k2 pakrat2k2 is offline
Moderator
 
Join Date: Apr 2005
Location: Canada
Posts: 7,209
Thanks: 3,040
Thanked 9,043 Times in 3,086 Posts
pakrat2k2 is on a distinguished road
Quote:
Originally Posted by pakrat2k2 View Post
if you want subdirectories then change to this

Filename: {src}\DATA.exe; Parameters: "-x -d""{app}\xyz\"" -y -s2";

where \xyz\ is the subfolder
compiling the ISS script generates compile error saying mismatched "...

correct format is:
Code:
Filename: {src}xyz.arc; Parameters: "-x -d ""{app}""\subdir -y -s2"; WorkingDir: {app}\subdir; StatusMsg: Extracting Freearc Archive...
this is of course in the [ RUN ] section of the ISS script.

EDIT: Also need to have
Code:
#define Archives "{src}\xyz.arc;DestDir:{app}\xyz;Disk:#"  #-can be 1-whatever ( however many disks you end up with.)
IF using Multiple archives / disks then you need more #define statements.

Code:
#define Archives "{src}\1.arc;DestDir:{app}\;Disk:1"
#define Archives Archives + "|" + "{src}\2.arc;DestDir:{app};Disk:2"
#define Archives Archives + "|" + "{src}\3.arc;DestDir:{app};Disk:3"
#define Archives Archives + "|" + "{src}\4.arc;DestDir:{app};Disk:4"
hope this helps

Last edited by pakrat2k2; 19-11-2011 at 10:21. Reason: additional info.
Reply With Quote
The Following User Says Thank You to pakrat2k2 For This Useful Post:
Simorq (16-03-2015)