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;