
04-05-2016, 20:34
|
 |
Registered User
|
|
Join Date: Aug 2014
Location: Toboh, Sabah, Malaysia
Posts: 595
Thanks: 599
Thanked 656 Times in 233 Posts
|
|
Quote:
Originally Posted by inatha3
how open website after installer success ? im using Blackbox Inno Setup Script
edit main script with code :
procedure CurStepChanged(CurStep: TSetupStep);
var
ErrCode: integer;
begin
if (CurStep=ssDone) then
begin
ShellExec('open', 'http://your.app.url/', '', '', SW_SHOW, ewNoWait, ErrCode);
end;
end;
succes open URL after install but my game not instaled .
thanks
|
Use this...
Code:
procedure CurStepChanged(CurStep: TSetupStep);
var
URL: integer;
begin
if (CurStep=ssPostInstall) and not (ISDoneError) then
begin
ShellExec('open', 'http://your.app.url/', '', '', SW_SHOW, ewNoWait, URL);
end;
end;
|