Include the exe file in the startup menu using Inno setup

karachi999
03-25-2002, 02:51 PM
I am using inno setup and learning that this is a very good program with lots of user freindly options. However I just stuck on How to include the myprogram.exe file so that the setup will include this in the startup folder. So each time clients boots PC, then it automatically execute.

Which option on Inno setup wizard let me do it?

Thanks

dmlx90
03-25-2002, 03:47 PM
under the [TASKS] section, put this:

name: "startupicon"; Description: "Run PROGRAMNAME on Startup"; GroupDescription: "Additional tasks:"; MinVersion: 4,4; Flags: unchecked


and under the [ICONS] section, put tihs:

Name: "{userstartup}\SHORTCUTNAME"; Filename: "{app}\EXENAME";Tasks: startupicon; workingdir: "{app}"



that should work. if you need to, search help for "userstartup"

karachi999
05-07-2002, 08:05 PM
Thanks for the help. Let me ask you that which command in innosetup is for the option to have Readme file at the end of executing setup.

Squirm
05-11-2002, 05:52 AM
From the INNO documentation

In the [Run] section:
Filename: "{app}\README.TXT"; Description: "View the README file"; Flags: postinstall shellexec skipifsilent

Something like that then :-\

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum