Почему у меня извлекает только из 3 архивов?
Хотя прописано 6 штук
[more]procedure CurStepChanged(CurStep: TSetupStep); ///Ðåãèñòðàöèÿ â GameExplorer
var
Binary, MainExe: String;
ResultCode:Integer;
begin
if CurStep = ssInstall then //Ïåðåä óñòàíîâêîé
begin
GenerateGUID(GUID);
ExtractTemporaryFile('arc.exe'); //Èçâëå÷åíèå Arc.exe â Temp
begin
WizardForm.StatusLabel.Caption:='Ðàñïàêîâêà ôàéëîâ...';//Èçâëå÷åíèå èç 1-ãî àðõèâà
Exec(ExpandConstant('{tmp}\Arc.exe'), 'x '+AddQuotes(ExpandConstant('{src}\data-a.bin'))+' -y -dp'+AddQuotes(ExpandConstant('{app}\nativePC\ZZPack1')), '', SW_HIDE, ewWaitUntilTerminated, ResultCode);
ProgressBar1.Position := ProgressBar1.Position+1
WizardForm.StatusLabel.Caption:='Ðàñïàêîâêà ôàéëîâ...'; //Èçâëå÷åíèå èç 2-ãî àðõèâà
Exec(ExpandConstant('{tmp}\Arc.exe'), 'x '+AddQuotes(ExpandConstant('{src}\data-b.bin'))+' -y -dp'+AddQuotes(ExpandConstant('{app}\nativePC\ZZPack1')), '', SW_HIDE, ewWaitUntilTerminated, ResultCode);
ProgressBar1.Position := ProgressBar1.Position+2
WizardForm.StatusLabel.Caption:='Ðàñïàêîâêà ôàéëîâ...'; //Èçâëå÷åíèå èç 3-ãî àðõèâà
Exec(ExpandConstant('{tmp}\Arc.exe'), 'x '+AddQuotes(ExpandConstant('{src}\data-c.bin'))+' -y -dp'+AddQuotes(ExpandConstant('{app}\nativePC\ZZPack1')), '', SW_HIDE, ewWaitUntilTerminated, ResultCode);
ProgressBar1.Position := ProgressBar1.Position+1
WizardForm.StatusLabel.Caption:='Ðàñïàêîâêà ôàéëîâ...'; //Èçâëå÷åíèå èç 4-ãî àðõèâà
Exec(ExpandConstant('{tmp}\Arc.exe'), 'x '+AddQuotes(ExpandConstant('{src}\data-d.bin'))+' -y -dp'+AddQuotes(ExpandConstant('{app}\nativePC\ZZPack2')), '', SW_HIDE, ewWaitUntilTerminated, ResultCode);
ProgressBar1.Position := ProgressBar1.Position+1
WizardForm.StatusLabel.Caption:='Ðàñïàêîâêà ôàéëîâ...'; //Èçâëå÷åíèå èç 5-ãî àðõèâà
Exec(ExpandConstant('{tmp}\Arc.exe'), 'x '+AddQuotes(ExpandConstant('{src}\data-e.bin'))+' -y -dp'+AddQuotes(ExpandConstant('{app}\nativePC\ZZPack2')), '', SW_HIDE, ewWaitUntilTerminated, ResultCode);
ProgressBar1.Position := ProgressBar1.Position+1
WizardForm.StatusLabel.Caption:='Ðàñïàêîâêà ôàéëîâ...'; //Èçâëå÷åíèå èç 6-ãî àðõèâà
Exec(ExpandConstant('{tmp}\Arc.exe'), 'x '+AddQuotes(ExpandConstant('{src}\data-f.bin'))+' -y -dp'+AddQuotes(ExpandConstant('{app}\nativePC\ZZPack2')), '', SW_HIDE, ewWaitUntilTerminated, ResultCode);
ProgressBar1.Position := ProgressBar1.Position+2
end;
end;
end;[/more]
Хотя прописано 6 штук
[more]procedure CurStepChanged(CurStep: TSetupStep); ///Ðåãèñòðàöèÿ â GameExplorer
var
Binary, MainExe: String;
ResultCode:Integer;
begin
if CurStep = ssInstall then //Ïåðåä óñòàíîâêîé
begin
GenerateGUID(GUID);
ExtractTemporaryFile('arc.exe'); //Èçâëå÷åíèå Arc.exe â Temp
begin
WizardForm.StatusLabel.Caption:='Ðàñïàêîâêà ôàéëîâ...';//Èçâëå÷åíèå èç 1-ãî àðõèâà
Exec(ExpandConstant('{tmp}\Arc.exe'), 'x '+AddQuotes(ExpandConstant('{src}\data-a.bin'))+' -y -dp'+AddQuotes(ExpandConstant('{app}\nativePC\ZZPack1')), '', SW_HIDE, ewWaitUntilTerminated, ResultCode);
ProgressBar1.Position := ProgressBar1.Position+1
WizardForm.StatusLabel.Caption:='Ðàñïàêîâêà ôàéëîâ...'; //Èçâëå÷åíèå èç 2-ãî àðõèâà
Exec(ExpandConstant('{tmp}\Arc.exe'), 'x '+AddQuotes(ExpandConstant('{src}\data-b.bin'))+' -y -dp'+AddQuotes(ExpandConstant('{app}\nativePC\ZZPack1')), '', SW_HIDE, ewWaitUntilTerminated, ResultCode);
ProgressBar1.Position := ProgressBar1.Position+2
WizardForm.StatusLabel.Caption:='Ðàñïàêîâêà ôàéëîâ...'; //Èçâëå÷åíèå èç 3-ãî àðõèâà
Exec(ExpandConstant('{tmp}\Arc.exe'), 'x '+AddQuotes(ExpandConstant('{src}\data-c.bin'))+' -y -dp'+AddQuotes(ExpandConstant('{app}\nativePC\ZZPack1')), '', SW_HIDE, ewWaitUntilTerminated, ResultCode);
ProgressBar1.Position := ProgressBar1.Position+1
WizardForm.StatusLabel.Caption:='Ðàñïàêîâêà ôàéëîâ...'; //Èçâëå÷åíèå èç 4-ãî àðõèâà
Exec(ExpandConstant('{tmp}\Arc.exe'), 'x '+AddQuotes(ExpandConstant('{src}\data-d.bin'))+' -y -dp'+AddQuotes(ExpandConstant('{app}\nativePC\ZZPack2')), '', SW_HIDE, ewWaitUntilTerminated, ResultCode);
ProgressBar1.Position := ProgressBar1.Position+1
WizardForm.StatusLabel.Caption:='Ðàñïàêîâêà ôàéëîâ...'; //Èçâëå÷åíèå èç 5-ãî àðõèâà
Exec(ExpandConstant('{tmp}\Arc.exe'), 'x '+AddQuotes(ExpandConstant('{src}\data-e.bin'))+' -y -dp'+AddQuotes(ExpandConstant('{app}\nativePC\ZZPack2')), '', SW_HIDE, ewWaitUntilTerminated, ResultCode);
ProgressBar1.Position := ProgressBar1.Position+1
WizardForm.StatusLabel.Caption:='Ðàñïàêîâêà ôàéëîâ...'; //Èçâëå÷åíèå èç 6-ãî àðõèâà
Exec(ExpandConstant('{tmp}\Arc.exe'), 'x '+AddQuotes(ExpandConstant('{src}\data-f.bin'))+' -y -dp'+AddQuotes(ExpandConstant('{app}\nativePC\ZZPack2')), '', SW_HIDE, ewWaitUntilTerminated, ResultCode);
ProgressBar1.Position := ProgressBar1.Position+2
end;
end;
end;[/more]