View Full Version : how open website after installer success
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
ShadowEagle
04-05-2016, 12:45
[Run]
Filename: "URL"; Flags: shellexec runasoriginaluser postinstall; Description: "DESCRIPTION"
Carldric Clement
04-05-2016, 20:34
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...
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;
Use this...
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;
i edit :
procedure CurStepChanged(CurStep: TSetupStep);
begin
CurStepChanged1(CurStep);
end;
replace with :
procedure CurStepChanged(CurStep: TSetupStep);
var
URL: integer;
begin
if (CurStep = ssPostInstall) and ISDoneError then
begin
Exec2(ExpandConstant('{uninstallexe}'), '/VERYSILENT', false);
end;
if (CurStep=ssPostInstall) and not (ISDoneError) then
begin
ShellExec('open', 'http://your.app.url/', '', '', SW_SHOW, ewNoWait, URL);
end;
end;
succes open url but my game not instaled my game no data
Carldric Clement
05-05-2016, 07:52
this my main.iss
This file was fixed. You can use now.
Just change your URL from
#define AppURL "YourURL"
This file was fixed. You can use now.
Just change your URL from
#define AppURL "YourURL"
finnaly
thank you bro . heheh
Nizar3003
08-05-2016, 00:50
I use this...
[Run]
Filename: "http://facebook.com/"; Flags: shellexec runasoriginaluser
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.