View Single Post
  #1149  
Old 08-06-2022, 17:15
Cesar82's Avatar
Cesar82 Cesar82 is offline
Registered User
 
Join Date: May 2011
Location: Brazil
Posts: 1,074
Thanks: 1,814
Thanked 2,304 Times in 787 Posts
Cesar82 is on a distinguished road
@KaktoR, I think you forgot the begin end.
Code:
procedure CurStepChanged(CurStep: TSetupStep);
...
  if (CurStep = ssPostInstall) then
  begin
    if not IsDoneError then
    begin
      #if UseBatch
        if FileExists(ExpandConstant('{#BatchFileName}')) then
        begin
          WizardForm.FilenameLabel.Caption := 'Waiting for batch...';
          Exec2(ExpandConstant('{#BatchFileName}'), '', True);
        end;
      #endif
Reply With Quote
The Following 2 Users Say Thank You to Cesar82 For This Useful Post:
KaktoR (09-06-2022), kuyhaa (08-06-2022)