Go Back   FileForums > Game Backup > PC Games > PC Games - CD/DVD Conversions > Conversion Tutorials
Register FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 04-05-2016, 04:20
inatha3 inatha3 is offline
Registered User
 
Join Date: Feb 2015
Location: indonesia
Posts: 21
Thanks: 17
Thanked 2 Times in 2 Posts
inatha3 is on a distinguished road
Question 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
Reply With Quote
Sponsored Links
  #2  
Old 04-05-2016, 12:45
ShadowEagle's Avatar
ShadowEagle ShadowEagle is offline
Registered User
 
Join Date: Dec 2014
Location: Wonderland
Posts: 138
Thanks: 18
Thanked 21 Times in 18 Posts
ShadowEagle is on a distinguished road
Code:
[Run]
Filename: "URL"; Flags: shellexec runasoriginaluser postinstall; Description: "DESCRIPTION"
Reply With Quote
The Following User Says Thank You to ShadowEagle For This Useful Post:
inatha3 (05-05-2016)
  #3  
Old 04-05-2016, 20:34
Carldric Clement's Avatar
Carldric Clement Carldric Clement is offline
Registered User
 
Join Date: Aug 2014
Location: Toboh, Sabah, Malaysia
Posts: 595
Thanks: 599
Thanked 656 Times in 233 Posts
Carldric Clement is on a distinguished road
Quote:
Originally Posted by inatha3 View Post
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;
Reply With Quote
The Following User Says Thank You to Carldric Clement For This Useful Post:
inatha3 (05-05-2016)
  #4  
Old 05-05-2016, 03:40
inatha3 inatha3 is offline
Registered User
 
Join Date: Feb 2015
Location: indonesia
Posts: 21
Thanks: 17
Thanked 2 Times in 2 Posts
inatha3 is on a distinguished road
Quote:
Originally Posted by Carldric Clement View Post
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;
i edit :

Code:
procedure CurStepChanged(CurStep: TSetupStep);
begin
  CurStepChanged1(CurStep);
end;
replace with :

Code:
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
Reply With Quote
  #5  
Old 05-05-2016, 03:43
inatha3 inatha3 is offline
Registered User
 
Join Date: Feb 2015
Location: indonesia
Posts: 21
Thanks: 17
Thanked 2 Times in 2 Posts
inatha3 is on a distinguished road
this my main.iss
Attached Files
File Type: rar Main.rar (35.2 KB, 11 views)

Last edited by inatha3; 05-05-2016 at 03:46.
Reply With Quote
  #6  
Old 05-05-2016, 07:52
Carldric Clement's Avatar
Carldric Clement Carldric Clement is offline
Registered User
 
Join Date: Aug 2014
Location: Toboh, Sabah, Malaysia
Posts: 595
Thanks: 599
Thanked 656 Times in 233 Posts
Carldric Clement is on a distinguished road
Quote:
Originally Posted by inatha3 View Post
this my main.iss
This file was fixed. You can use now.
Code:
Just change your URL from
#define AppURL "YourURL"

Last edited by Carldric Clement; 07-04-2026 at 13:25.
Reply With Quote
  #7  
Old 05-05-2016, 12:22
inatha3 inatha3 is offline
Registered User
 
Join Date: Feb 2015
Location: indonesia
Posts: 21
Thanks: 17
Thanked 2 Times in 2 Posts
inatha3 is on a distinguished road
Smile

Quote:
Originally Posted by Carldric Clement View Post
This file was fixed. You can use now.
Code:
Just change your URL from
#define AppURL "YourURL"
finnaly
thank you bro . heheh
Reply With Quote
The Following User Says Thank You to inatha3 For This Useful Post:
Carldric Clement (06-05-2016)
  #8  
Old 08-05-2016, 00:50
Nizar3003's Avatar
Nizar3003 Nizar3003 is offline
Registered User
 
Join Date: May 2015
Location: Indonesia
Posts: 62
Thanks: 16
Thanked 36 Times in 20 Posts
Nizar3003 is on a distinguished road
I use this...

[Run]
Filename: "http://facebook.com/"; Flags: shellexec runasoriginaluser
Reply With Quote
The Following User Says Thank You to Nizar3003 For This Useful Post:
Epic Titan 69 (10-03-2021)
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Conversion Designer/Installer Creator Razor12911 Conversion Tutorials 1613 03-10-2024 01:24
altef_4's installer altef_4 Conversion Tutorials 244 24-05-2024 22:20
Game Installer Designer by altef_4 altef_4 Conversion Tutorials 236 28-05-2021 02:54
Crysis 3 DVD9 to 3xDVD5 Custom Installer spawniectes PC Games - CD/DVD Conversions 79 31-08-2017 07:19
Tutorial using CI 8.0.0 yener90 Conversion Tutorials 424 21-10-2014 09:49



All times are GMT -7. The time now is 21:15.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
FileForums @ https://fileforums.com