Quote:
Originally Posted by Gamer009
it's the same as in the topic !
i have not edited it !!
|
Find This Code From
Black-Box Script
Code:
if CurStep=ssPostInstall then begin
if DirectXCB.Checked then begin
Status.Caption:='Installing DirectX...';
Status.Left := 200;
Status.Top := 200;
Status.Width := 223;
Status.Height := 20;
Exec2(ExpandConstant('{src}\Redist\DirectX\DXSETUP.exe'),'/q',false);
end;
if NvidiaPhysx.Checked then begin
Status.Caption:='Installing Nvidia Physx...';
Status.Left := 200;
Status.Top := 200;
Status.Width := 227;
Status.Height := 20;
Exec2(ExpandConstant('{src}\Redist\PhysX.msi'),'/q',false);
end;
if VisualCCB.Checked then begin
Status.Caption:='Installing Visual C++...';
Status.Left := 200;
Status.Top := 200;
Status.Width := 227;
Status.Height := 20;
Exec2(ExpandConstant('{src}\Redist\vcredist_x86.exe'),'/q',false);
end;
if Framework.Checked then begin
Status.Caption:='Installing Framework...';
Status.Left := 200;
Status.Top := 200;
Status.Width := 227;
Status.Height := 20;
Exec2(ExpandConstant('{src}\Redist\dotnetfx.exe'),'/q',false);
end;
end;
Replace
Code:
if CurStep=ssPostInstall then begin
if DirectXCB.Checked then begin
Status.Caption:='Installing DirectX...';
Status.Left := 200;
Status.Top := 200;
Status.Width := 223;
Status.Height := 20;
Exec2(ExpandConstant('{src}\Redist\DirectX\DXSETUP.exe'),'/silent',false);
end;
if NvidiaPhysx.Checked then begin
Status.Caption:='Installing Nvidia Physx...';
Status.Left := 200;
Status.Top := 200;
Status.Width := 227;
Status.Height := 20;
Exec2(ExpandConstant('{src}\Redist\PhysX.msi'),'/q',false);
end;
if VisualCCB.Checked then begin
Status.Caption:='Installing Visual C++...';
Status.Left := 200;
Status.Top := 200;
Status.Width := 227;
Status.Height := 20;
Exec2(ExpandConstant('{src}\Redist\vcredist_x86.exe'),'/q',false);
end;
if Framework.Checked then begin
Status.Caption:='Installing Framework...';
Status.Left := 200;
Status.Top := 200;
Status.Width := 227;
Status.Height := 20;
Exec2(ExpandConstant('{src}\Redist\dotnetfx.exe'),'/q',false);
end;
end;
There!
