#ifdef Components
TmpValue:=1;
if IsComponentSelected('AddonsSetup\Adventures') then Comps1:=Comps1+TmpValue;
TmpValue:=TmpValue*2;
if IsComponentSelected('AddonsSetup\Ambitions') then Comps1:=Comps1+TmpValue;
TmpValue:=TmpValue*2;
if IsComponentSelected('AddonsSetup\LateNight') then Comps1:=Comps1+TmpValue;
TmpValue:=TmpValue*2;
if IsComponentSelected('AddonsSetup\Generations') then Comps1:=Comps1+TmpValue;
TmpValue:=TmpValue*2;
if IsComponentSelected('AddonsSetup\Pets') then Comps1:=Comps1+TmpValue;
TmpValue:=TmpValue*2;
if IsComponentSelected('AddonsSetup\ShowTime') then Comps1:=Comps1+TmpValue;
TmpValue:=TmpValue*2;
if IsComponentSelected('AddonsSetup\Supernatural') then Comps1:=Comps1+TmpValue;
TmpValue:=TmpValue*2;
if IsComponentSelected('AddonsSetup\Seasons') then Comps1:=Comps1+TmpValue;
TmpValue:=TmpValue*2;
if IsComponentSelected('AddonsSetup\Univercity') then Comps1:=Comps1+TmpValue;
TmpValue:=TmpValue*2;
if IsComponentSelected('AddonsSetup\Island') then Comps1:=Comps1+TmpValue;
TmpValue:=TmpValue*2;
if IsComponentSelected('AddonsSetup\IntoTheFuture') then Comps1:=Comps1+TmpValue;
TmpValue:=TmpValue*2;
if IsComponentSelected('CatalogsSetup\HighEnd') then Comps1:=Comps1+TmpValue;
TmpValue:=TmpValue*2;
if IsComponentSelected('CatalogsSetup\FastLane') then Comps1:=Comps1+TmpValue;
TmpValue:=TmpValue*2;
if IsComponentSelected('CatalogsSetup\Outdoor') then Comps1:=Comps1+TmpValue;
TmpValue:=TmpValue*2;
if IsComponentSelected('CatalogsSetup\TownLife') then Comps1:=Comps1+TmpValue;
TmpValue:=TmpValue*2;
if IsComponentSelected('CatalogsSetup\MasterSuite') then Comps1:=Comps1+TmpValue;
TmpValue:=TmpValue*2;
if IsComponentSelected('CatalogsSetup\KatyPerry') then Comps1:=Comps1+TmpValue;
TmpValue:=TmpValue*2;
if IsComponentSelected('CatalogsSetup\FastLane') then Comps1:=Comps1+TmpValue;
TmpValue:=TmpValue*2;
if IsComponentSelected('CatalogsSetup\Diesel') then Comps1:=Comps1+TmpValue;
TmpValue:=TmpValue*2;
if IsComponentSelected('CatalogsSetup\708090') then Comps1:=Comps1+TmpValue;
TmpValue:=TmpValue*2;
if IsComponentSelected('CatalogsSetup\Movie') then Comps1:=Comps1+TmpValue;
TmpValue:=TmpValue*2;
if IsComponentSelected('StoreSetup\Store') then Comps1:=Comps1+TmpValue;
TmpValue:=TmpValue*2;
#endif
#ifdef precomp
PCFVer:={#precomp};
#else
PCFVer:=0;
#endif
ISDoneError:=true;
if ISDoneInit(ExpandConstant('{src}\records.inf'), $F777, Comps1,Comps2,Comps3, MainForm.Handle, {#NeedMem}, @ProgressCallback) then begin
repeat
ChangeLanguage('Russian');
if not SrepInit('',512,0) then break;
if not PrecompInit('',128,PCFVer) then break;
if not FileSearchInit(false) then break;
if not ISArcExtract ( 0, 0, ExpandConstant('{src}\Data01.dxn'), ExpandConstant('{app}\'), '', false, '5923-AC-2826', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}\'), notPCFonFLY{PCFonFLY}) then break;
if not ISArcExtract ( 1, 0, ExpandConstant('{src}\Data02.dxn'), ExpandConstant('{app}\'), '', false, '5923-AC-2826', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}\'), notPCFonFLY{PCFonFLY}) then break;
if not ISArcExtract ( 2, 0, ExpandConstant('{src}\Data03.dxn'), ExpandConstant('{app}\'), '', false, '5923-AC-2826', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}\'), notPCFonFLY{PCFonFLY}) then break;
if not ISArcExtract ( 3, 0, ExpandConstant('{src}\Data04.dxn'), ExpandConstant('{app}\'), '', false, '5923-AC-2826', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}\'), notPCFonFLY{PCFonFLY}) then break;
if not ISArcExtract ( 4, 0, ExpandConstant('{src}\Data05.dxn'), ExpandConstant('{app}\'), '', false, '5923-AC-2826', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}\'), notPCFonFLY{PCFonFLY}) then break;
if not ISArcExtract ( 5, 0, ExpandConstant('{src}\Data06.dxn'), ExpandConstant('{app}\'), '', false, '5923-AC-2826', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}\'), notPCFonFLY{PCFonFLY}) then break;
if not ISArcExtract ( 6, 0, ExpandConstant('{src}\Data07.dxn'), ExpandConstant('{app}\'), '', false, '5923-AC-2826', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}\'), notPCFonFLY{PCFonFLY}) then break;
if not ISArcExtract ( 7, 0, ExpandConstant('{src}\Data08.dxn'), ExpandConstant('{app}\'), '', false, '5923-AC-2826', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}\'), notPCFonFLY{PCFonFLY}) then break;
if not ISArcExtract ( 8, 0, ExpandConstant('{src}\Data09.dxn'), ExpandConstant('{app}\'), '', false, '5923-AC-2826', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}\'), notPCFonFLY{PCFonFLY}) then break;
if not ISArcExtract ( 9, 0, ExpandConstant('{src}\Data10.dxn'), ExpandConstant('{app}\'), '', false, '5923-AC-2826', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}\'), notPCFonFLY{PCFonFLY}) then break;
if not ISArcExtract ( 10, 0, ExpandConstant('{src}\Data11.dxn'), ExpandConstant('{app}\'), '', false, '5923-AC-2826', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}\'), notPCFonFLY{PCFonFLY}) then break;
if not ISArcExtract ( 11, 0, ExpandConstant('{src}\Data12.dxn'), ExpandConstant('{app}\'), '', false, '5923-AC-2826', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}\'), notPCFonFLY{PCFonFLY}) then break;
if not ISArcExtract ( 12, 0, ExpandConstant('{src}\Data13.dxn'), ExpandConstant('{app}\'), '', false, '5923-AC-2826', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}\'), notPCFonFLY{PCFonFLY}) then break;
if not ISArcExtract ( 13, 0, ExpandConstant('{src}\Data14.dxn'), ExpandConstant('{app}\'), '', false, '5923-AC-2826', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}\'), notPCFonFLY{PCFonFLY}) then break;
if not ISArcExtract ( 14, 0, ExpandConstant('{src}\Data15.dxn'), ExpandConstant('{app}\'), '', false, '5923-AC-2826', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}\'), notPCFonFLY{PCFonFLY}) then break;
if not ISArcExtract ( 15, 0, ExpandConstant('{src}\Data16.dxn'), ExpandConstant('{app}\'), '', false, '5923-AC-2826', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}\'), notPCFonFLY{PCFonFLY}) then break;
if not ISArcExtract ( 16, 0, ExpandConstant('{src}\Data17.dxn'), ExpandConstant('{app}\'), '', false, '5923-AC-2826', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}\'), notPCFonFLY{PCFonFLY}) then break;
if not ISArcExtract ( 17, 0, ExpandConstant('{src}\Data18.dxn'), ExpandConstant('{app}\'), '', false, '5923-AC-2826', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}\'), notPCFonFLY{PCFonFLY}) then break;
if not ISArcExtract ( 18, 0, ExpandConstant('{src}\Data19.dxn'), ExpandConstant('{app}\'), '', false, '5923-AC-2826', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}\'), notPCFonFLY{PCFonFLY}) then break;
if not ISArcExtract ( 19, 0, ExpandConstant('{src}\Data20.dxn'), ExpandConstant('{app}\'), '', false, '5923-AC-2826', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}\'), notPCFonFLY{PCFonFLY}) then break;
if not ISArcExtract ( 20, 0, ExpandConstant('{src}\Data21.dxn'), ExpandConstant('{app}\'), '', false, '5923-AC-2826', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}\'), notPCFonFLY{PCFonFLY}) then break;
if not ISArcExtract ( 21, 0, ExpandConstant('{src}\Data22.dxn'), ExpandConstant('{userdocs}\Electronic Arts\The Sims 3\Downloads\'), '', false, '5923-AC-2826', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{userdocs}\Electronic Arts\The Sims 3\Downloads\'), notPCFonFLY{PCFonFLY}) then break;