View Single Post
  #2  
Old 02-03-2016, 11:05
rinaldo's Avatar
rinaldo rinaldo is offline
Registered User
 
Join Date: Sep 2015
Location: Rome
Posts: 433
Thanks: 101
Thanked 696 Times in 191 Posts
rinaldo is on a distinguished road
Code:
[Components]
Name: text; Description: Select Language Text; Types: full; Flags: fixed
Name: text\ger; Description: German; Flags: exclusive;       
Name: text\eng; Description: English; Flags: exclusive; 


Component Selection:
if IsComponentSelected('text\ger') then Comps1:=Comps1+TmpValue;     
TmpValue:=TmpValue*2;
if IsComponentSelected('text\eng') then Comps1:=Comps1+TmpValue;    



FreArc ISDone Extraction:
if not ISArcExtract    ( 1, 0, ExpandConstant('{src}\German_lng.bin'), ExpandConstant('{app}\'), '', false, '', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}\'), notPCFonFLY{PCFonFLY}) then break;
if not ISArcExtract    ( 2, 0, ExpandConstant('{src}\English_lng.bin'), ExpandConstant('{app}\'), '', false, '', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}\'), notPCFonFLY{PCFonFLY}) then break;
__________________
if you understand read more

Last edited by rinaldo; 02-03-2016 at 11:09.
Reply With Quote
The Following 2 Users Say Thank You to rinaldo For This Useful Post:
Amsal (02-03-2016), Simorq (04-02-2018)