0

ISDone を使用してゲームのリパックを作成しています。Directx と Vc++ の 2 つのチェックボックスを作成しました。インストールの進行状況バーは ssInstall セクションでは問題なく表示されましたが、ssPostinstall セクションでは進行状況バーが表示されませんでした。

これが私のサンプルコードです

if CurStep=ssPostInstall then begin
if DirectXCB.Checked then begin
  Status.Caption:='Installing DirectX';
  Exec2(ExpandConstant('{src}\Redist\DirectX\Dx.cmd'),'/silent',false);
end;
if VisualCCB.Checked then begin
  Status.Caption:='Installing Visual C++';
  Exec2(ExpandConstant('{src}\Redist\vcredist_x86.exe'),'/silent',false);
end;
end;

 if (CurStep=ssInstall) and ISDoneError then begin
Exec2(ExpandConstant('{uninstallexe}'), '/VERYSILENT', false);


end;
end;

Pls は任意のアイデアを提案!

4

0 に答える 0