Hi men!
Help me please. How could I extract one file from archive in ISDone script.
E.g. One arc archive contain 1.dat and 2.dat
The other contain 1.txt and 2.txt
So, I need to install 1.dat and 1.txt or 1.dat and 2.txt (I need to choose all possible variant)
What I need to write here
Цитата: if not ISArcExtract ( 1, 0, ExpandConstant('{src}\Data.arc'), ExpandConstant('{app}\), false, '', '', '', notPCFonFLY ) then break;
if not ISArcExtract ( 2, 0, ExpandConstant('{src}\Data2.arc'), ExpandConstant('{app}\'), false, '', '', '', notPCFonFLY ) then break;
if not ISArcExtract ( 3, 0, ExpandConstant('{src}\Data3.arc'), ExpandConstant('{app}\), false, '', '', '', notPCFonFLY ) then break;
if not ISArcExtract ( 4, 0, ExpandConstant('{src}\Data4.arc'), ExpandConstant('{app}\'), false, '', '', '', notPCFonFLY ) then break;
and here
Цитата:
[Components]
Name: text; Description: Текст игры; Types: full compact custom; Flags: fixed
Name: text\rus; Description: {cm:Russian}; Types: full; Flags: exclusive;
Name: text\eng; Description: {cm:English}; Types: custom; Flags: exclusive;
Name: voice; Description: Озвучка игры; Types: full compact custom; Flags: fixed
Name: voice\rus; Description: {cm:Russian}; Types: full; Flags: exclusive;
Name: voice\eng; Description: {cm:English}; Types: custom; Flags: exclusive;
#endif
I hope u understand me.
Like this