vint56
Advanced Member | Редактировать | Профиль | Сообщение | Цитировать | Сообщить модератору [Components] Name: text; Description: Язык субтитров; Types: full; Flags: fixed Name: text\rus; Description: Русский; Flags: exclusive; ExtraDiskSpaceRequired: 100000000 Name: text\eu; Description: Английский; Flags: exclusive; ExtraDiskSpaceRequired: 200000000 #ifdef Components TmpValue:=1; if IsComponentSelected('text\rus') then Comps1:=Comps1+TmpValue; //компонент 1 TmpValue:=TmpValue*2; if IsComponentSelected('text\eu') then Comps1:=Comps1+TmpValue; //компонент 2 // распаковка архивов аrc переминованых в bin if not ISArcExtract ( 0, 0, ExpandConstant('{src}\data 1.bin'), ExpandConstant('{app}'), '', false, '', '', ExpandConstant('{app}'), notPCFonFLY {PCFonFLY}) then break; if not ISArcExtract ( 0, 0, ExpandConstant('{src}\data 2.bin'), ExpandConstant('{app}'), '', false, '', '', ExpandConstant('{app}'), notPCFonFLY {PCFonFLY}) then break; if not ISArcExtract ( 0, 0, ExpandConstant('{src}\data 3.bin'), ExpandConstant('{app}'), '', false, '', '', ExpandConstant('{app}'), notPCFonFLY {PCFonFLY}) then break; if not ISArcExtract ( 0, 0, ExpandConstant('{src}\data 4.bin'), ExpandConstant('{app}'), '', false, '', '', ExpandConstant('{app}'), notPCFonFLY {PCFonFLY}) then break; if not ISArcExtract ( 0, 0, ExpandConstant('{src}\data 5.bin'), ExpandConstant('{app}'), '', false, '', '', ExpandConstant('{app}'), notPCFonFLY {PCFonFLY}) then break; if not ISArcExtract ( 0, 0, ExpandConstant('{src}\data 6.bin'), ExpandConstant('{app}'), '', false, '', '', ExpandConstant('{app}'), notPCFonFLY {PCFonFLY}) then break; // теперь компоненты if not ISArcExtract ( 1, 0, ExpandConstant('{src}\rus.bin'), ExpandConstant('{app}'), false, '', '', '', notPCFonFLY ) then break; if not ISArcExtract ( 2, 0, ExpandConstant('{src}\eu.bin'), ExpandConstant('{app}'), false, '', '', '', notPCFonFLY ) then break; |