deus_ex,
#ifdef Components
TmpValue:=1;
if IsComponentSelected('ком1') then Comps1:=Comps1+TmpValue; //компонент 1
TmpValue:=TmpValue*2;
if IsComponentSelected('ком2') then Comps1:=Comps1+TmpValue; //компонент 2
TmpValue:=TmpValue*2;
if IsComponentSelected('ком1') and IsComponentSelected('ком2') then Comps1:=Comps1+TmpValue; //компонент 3
// .....
if not ISArcExtract ( 1, 0, ExpandConstant('{src}\arc1.arc'), ExpandConstant('{app}\'), '', false, '', '', ExpandConstant('{app}\'), notPCFonFLY) then break;
if not ISArcExtract ( 2, 0, ExpandConstant('{src}\arc2.arc'), ExpandConstant('{app}\'), '', false, '', '', ExpandConstant('{app}\'), notPCFonFLY) then break;
if not ISArcExtract ( 3, 0, ExpandConstant('{src}\arc3.arc'), ExpandConstant('{app}\'), '', false, '', '', ExpandConstant('{app}\'), notPCFonFLY) then break;