View Single Post
  #1148  
Old 08-06-2022, 07:58
KaktoR's Avatar
KaktoR KaktoR is offline
Lame User
 
Join Date: Jan 2012
Location: From outer space
Posts: 4,689
Thanks: 1,106
Thanked 7,336 Times in 2,838 Posts
KaktoR is on a distinguished road
Code:
procedure CurStepChanged(CurStep: TSetupStep);
...
  if (CurStep = ssPostInstall) then
  begin
    if not IsDoneError then
    begin
      #if UseBatch
        if FileExists(ExpandConstant('{#BatchFileName}')) then
          WizardForm.FilenameLabel.Caption := 'Waiting for batch...';
          Exec2(ExpandConstant('{#BatchFileName}'), '', True);
      #endif
__________________
Haters gonna hate

Last edited by KaktoR; 08-06-2022 at 08:00.
Reply With Quote
The Following 2 Users Say Thank You to KaktoR For This Useful Post:
kuyhaa (08-06-2022), Titeuf (08-06-2022)