Add run file after install .iss file

This forum is meant for requesting technical support or reporting bugs.

Moderators: time-killer-games, Vengeance66, Candle, reneuend, GM-Support

Add run file after install .iss file

Postby Candle » Thu May 04, 2006 7:49 pm

I added this line :
Code: Select all
[Run]
Filename: {app}\Taken.exe; Description: {cm:LaunchProgram,Taken}; Flags: nowait postinstall skipifsilent

But got an error before the install about the Description part?
Something about didn't know what it was.
Please don't PM me questions, ask here in the forums!
``````````````
Between grand theft and a legal fee, there only stands a law degree.
User avatar
Candle
Administrator
 
Posts: 3077
Joined: Sat Feb 07, 2004 2:21 am
Location: Rudy's Bar

Postby GM-Support » Thu May 04, 2006 11:33 pm

Hi,

You can have an executable launched at the end of the installation process by simply changing the options that are on the "Distribution Options" window of Adventure Maker. No editing of the ISS file is required.

Let me know if you cannot find them.

GM-Support
GM-Support
Forum Admin and Games Page admin
 
Posts: 2221
Joined: Thu Jun 05, 2003 7:52 pm

Postby Candle » Thu May 04, 2006 11:35 pm

Opps , didn't see that GM. lol
will have a look.
Please don't PM me questions, ask here in the forums!
``````````````
Between grand theft and a legal fee, there only stands a law degree.
User avatar
Candle
Administrator
 
Posts: 3077
Joined: Sat Feb 07, 2004 2:21 am
Location: Rudy's Bar

Postby Candle » Thu May 04, 2006 11:39 pm

I can't seem to find it I'm using 4.01 if that matters. 4.20 is giving me errors when I try to compile .
Attachments
run.png
run.png (17.18 KiB) Viewed 4274 times
Please don't PM me questions, ask here in the forums!
``````````````
Between grand theft and a legal fee, there only stands a law degree.
User avatar
Candle
Administrator
 
Posts: 3077
Joined: Sat Feb 07, 2004 2:21 am
Location: Rudy's Bar

Postby GM-Support » Thu May 04, 2006 11:55 pm

Hi,

Your screenshot is perfect. First you must click on "Browse..." and locate the executable that you wish to launch at the end of the installation. It will appear on the first list. Then you must select it from that list, and click the "Add" button that is under the second list. It will appear on the second list.

Please let me know if it is not very clear.

GM-Support
GM-Support
Forum Admin and Games Page admin
 
Posts: 2221
Joined: Thu Jun 05, 2003 7:52 pm

Postby Candle » Fri May 05, 2006 12:01 am

Will I want to run my game when it is done installing but there is no exe till it is compiled right?
Please don't PM me questions, ask here in the forums!
``````````````
Between grand theft and a legal fee, there only stands a law degree.
User avatar
Candle
Administrator
 
Posts: 3077
Joined: Sat Feb 07, 2004 2:21 am
Location: Rudy's Bar

Postby GM-Support » Fri May 05, 2006 12:17 am

I am not sure I understood the question. Could you please give me more details?
GM-Support
Forum Admin and Games Page admin
 
Posts: 2221
Joined: Thu Jun 05, 2003 7:52 pm

Postby Candle » Fri May 05, 2006 12:22 am

Well after the install run s and installs the game the last thing I want it to do is have the box to check so they can run the game when the installer quits like when AM installs .
I know how to do it with Inno and the scripts but for some reason this uses the script different?
Please don't PM me questions, ask here in the forums!
``````````````
Between grand theft and a legal fee, there only stands a law degree.
User avatar
Candle
Administrator
 
Posts: 3077
Joined: Sat Feb 07, 2004 2:21 am
Location: Rudy's Bar

Postby GM-Support » Fri May 05, 2006 12:38 am

Oh, ok, now I see.

The version of InnoSetup included in AM is 1.3.16. I don't think that you can have a box with that version, but I am sure that it is possible to launch the game after the installation is complete.

Perhaps the code that you used is only compatible with a newer version. The following code should work fine:

Code: Select all
[Run]
Filename: "{app}\Taken.exe"; Flags: nowait


However, the game will start just before the end of the installation, not after. It seems that the "postinstall" flag is not available with this version.

I have attached the help document of v1.3.16 for reference.

Best regards,
GM-Support
Attachments
ISetup.zip
(41.52 KiB) Downloaded 291 times
GM-Support
Forum Admin and Games Page admin
 
Posts: 2221
Joined: Thu Jun 05, 2003 7:52 pm

Postby Candle » Fri May 05, 2006 12:42 am

Yes I was thinking it was something like that . I'm using 5.1.5 (2005-08-17)
right now to compile installers for my other programs .
Please don't PM me questions, ask here in the forums!
``````````````
Between grand theft and a legal fee, there only stands a law degree.
User avatar
Candle
Administrator
 
Posts: 3077
Joined: Sat Feb 07, 2004 2:21 am
Location: Rudy's Bar


Return to Adventure Maker Technical Support and Bug Reports

Who is online

Users browsing this forum: No registered users and 0 guests