View Single Post
  #13  
Old 09-06-2022, 06:04
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
Quote:
Originally Posted by Cesar82 View Post
@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
Thanks, already fixed it here (I made already extensive changes in the script).

Me be like
__________________
Haters gonna hate
Reply With Quote