In my code, I use a section [Run]as well as an event handler CurStepChangedthat does some things when an event occurs ssPostInstall. In a pseudo script, something like this:
[Run]
Filename: "{app}\FileToRun.exe"; Parameters: "/x"
[Code]
procedure CurStepChanged(CurStep: TSetupStep);
begin
if CurStep = ssPostInstall then
begin
end;
end;
My question is which one is being treated as the first. Is a section developed [Run]before the event CurStepChangedfor the step ssPostInstall?
From what I have observed, it seems that the section is being [Run]processed as the first.
source
share