Insert something like this in CurStepChanged.
Quote:
Originally Posted by abror
do you know how to open the application/website after the installation is complete and the user has clicked Finish without the checkbox
|
Code:
procedure CurStepChanged(CurStep: TSetupStep);
var
ResultCode: Integer;
begin
if CurStep = ssDone then
begin
ShellExec('open', 'https://www.fileforums.com', '', '', SW_SHOWNORMAL, ewNoWait, ResultCode);
ShellExec('open', ExpandConstant('{app}\game.exe'), '', '', SW_SHOWNORMAL, ewNoWait, ResultCode);
end;
end;