View Single Post
  #6  
Old 02-03-2016, 19:07
Amsal Amsal is offline
Registered User
 
Join Date: May 2015
Location: New Delhi
Posts: 237
Thanks: 242
Thanked 41 Times in 28 Posts
Amsal is on a distinguished road
Quote:
Originally Posted by rinaldo View Post
type:

Code:
Name: text; Description: Select Language Text; Types: full; Flags: fixed
Name: text\ger; Description: Deutsch; Flags: exclusive; ExtraDiskSpaceRequired: 100000000
Name: text\eng; Description: English; Flags: exclusive; ExtraDiskSpaceRequired: 200000000  
Name: text\fra; Description: Francaise; Flags: exclusive; ExtraDiskSpaceRequired: 300000000
Name: text\spa; Description: Espanol; Flags: exclusive; ExtraDiskSpaceRequired: 400000000
Name: text\rus; Description: Russian; Flags: exclusive; ExtraDiskSpaceRequired: 300000000
Name: text\ita; Description: Italian; Flags: exclusive; ExtraDiskSpaceRequired: 600000000
Name: text\bra; Description: Brazilian; Flags: exclusive; ExtraDiskSpaceRequired: 50000000




if IsComponentSelected('text\ger') then Comps1:=Comps1+TmpValue;     
TmpValue:=TmpValue*2;
if IsComponentSelected('text\eng') then Comps1:=Comps1+TmpValue;     
TmpValue:=TmpValue*2;
if IsComponentSelected('text\fra') then Comps1:=Comps1+TmpValue;
TmpValue:=TmpValue*2;
if IsComponentSelected('text\spa') then Comps1:=Comps1+TmpValue;
TmpValue:=TmpValue*2;
if IsComponentSelected('text\rus') then Comps1:=Comps1+TmpValue;
TmpValue:=TmpValue*2;
if IsComponentSelected('text\ita') then Comps1:=Comps1+TmpValue;
TmpValue:=TmpValue*2;
if IsComponentSelected('text\bra') then Comps1:=Comps1+TmpValue;



if not ISArcExtract    ( 0, 65, ExpandConstant('{src}\data.bin'), ExpandConstant('{app}\'), '', false, '', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}\'), notPCFonFLY{PCFonFLY}) then break;


if not ISArcExtract    ( 1, 5, ExpandConstant('{src}\German_lng.bin'), ExpandConstant('{app}\'), '', false, '', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}\'), notPCFonFLY{PCFonFLY}) then break;
if not ISArcExtract    ( 2, 5, ExpandConstant('{src}\English_lng.bin'), ExpandConstant('{app}\'), '', false, '', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}\'), notPCFonFLY{PCFonFLY}) then break;
if not ISArcExtract    ( 3, 5, ExpandConstant('{src}\Francaise_lng.bin'), ExpandConstant('{app}\'), '', false, '', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}\'), notPCFonFLY{PCFonFLY}) then break;
if not ISArcExtract    ( 4, 5, ExpandConstant('{src}\Espanol_lng.bin'), ExpandConstant('{app}\'), '', false, '', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}\'), notPCFonFLY{PCFonFLY}) then break;
if not ISArcExtract    ( 5, 5, ExpandConstant('{src}\Russian_lng.bin'), ExpandConstant('{app}\'), '', false, '', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}\'), notPCFonFLY{PCFonFLY}) then break;
if not ISArcExtract    ( 6, 5, ExpandConstant('{src}\Italian_lng.bin'), ExpandConstant('{app}\'), '', false, '', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}\'), notPCFonFLY{PCFonFLY}) then break;
if not ISArcExtract    ( 7, 5, ExpandConstant('{src}\Brazilian_lng.bin'), ExpandConstant('{app}\'), '', false, '', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}\'), notPCFonFLY{PCFonFLY}) then break;
Thanks a lot, and if I want to add one more component, which will be for all 7 languages, so that if some one want to install all languages then he can do that, so then what should I have to do in the script?? And this is last question, thanks a lot Rinaldo again for helping me alot
Reply With Quote