User User name Password  
   
Saturday 19.7.2025 / 01:25
Search AfterDawn Forums:        In English   Suomeksi   På svenska
afterdawn.com > forums > archived forums > cd-r > how do i edit autorun.inf so that i can execute 2 exe files one by one
Show topics
 
Forums
Forums
How do i edit autorun.inf so that i can execute 2 exe files one by one
  Jump to:
 
Posted Message
rajeevjha
Suspended due to non-functional email address
_
3. August 2003 @ 12:14 _ Link to this message    Send private message to this user   
Hello,

I may sound dumb but i really wanna edit autorun.inf file
i have 2 installation files ..... the first setup.exe (game installation) which wd install the game on my harddisk and then i want to add the 2 setup.exe (patchfile for the game ) to automatically start and install in the required directory overwriting the previous file ..

is there any way where i can automatically launch the 2 setup.exe file one by one after the installation of game / application is finished ?

Autorun.inf
open ="gameinstall.exe"
open - "patch".exe" ( i want this patch file to automatically start after the game is installed )

Let me know what changed or settings i have to do to start 2 setup.exe files automatically one by one

thanxs in advance
Advertisement
_
__
PlusOne
Junior Member
_
3. August 2003 @ 19:44 _ Link to this message    Send private message to this user   
To my knowledege, you cannot directly setup an autorun.inf file to run two files sequentially. You do have a couple of options:

1) Create a batch script (text file ending in ".bat") with the file names to execute on seperate lines seperated by a carriage return, then set autorun.inf to execute the batch file. Note that I have had luck in getting this to work on WinXP, some Win98 users have complained...

2) Really, the best solution is to create a small app that has no dependencies to run the two applications.

But all of this leads to one simple question -- why not just edit the instalation program?

rajeevjha
Suspended due to non-functional email address
_
5. August 2003 @ 02:17 _ Link to this message    Send private message to this user   
I have a game which has a no cd crack so first i install the game on my harddisk
when i play the executable file it asks for the right cd to be inserted
the 2 file is a patchfile which will overwrite the original file on the harddisk

cd u tell me the parameters to be used in setup.bat in autorun.inf ?

i mean in setup.bat
what command shld i execute .. to play both the setup files one after another ??

thanxs in advance
Praetor
Moderator
_
6. August 2003 @ 03:57 _ Link to this message    Send private message to this user   
It would be something like this:
Quote:
<<<localpath of installer1>>>
<<<localpath of installer2>>>

ASUS A8V Deluxe, A64-3500 @ 2.65
1GB KingMax PC3700
640GB [4x160GB, 7200, 8MB]
XFX 6800GT 256MB
Rules and Policies: http://forums.afterdawn.com/thread_view.cfm/2487

This message has been edited since posting. Last time this message was edited on 6. August 2003 @ 03:58

rajeevjha
Suspended due to non-functional email address
_
6. August 2003 @ 05:05 _ Link to this message    Send private message to this user   
Thanxs for ur help :)

but i have a small problem
in the starup.bat file
i have included the following lines
@echo off
cls
1.) setup.exe is the main game file which wd install first
2.) patch.exe is the patch file which i want to install once the game in installed on my hard disk just to overwrite the original file..
now the problem is both this installation setup start simultaneously
is there any way where i can start patch.exe file once the setup.exe (original installation) is completed that means i want the 2 file to start after the installation of 1 file is completed ?

is there any command i can inclue between this 2 lines

<<<localpath of installer1>>>
<<<localpath of installer2>>>
--------------------------------------------------------------------------------


Staff Member

2 product reviews
_
6. August 2003 @ 06:43 _ Link to this message    Send private message to this user   
If you're going to be running this on Windows 2000 or XP you could try using this:

start /wait <first_program>
<second_program>

I don't believe that this will work on Win9x.

Edit: Just looked this up in a Win98 command reference and apparently the correct syntax for 9x would be:

start /w <first_program>
<second_program>

This message has been edited since posting. Last time this message was edited on 6. August 2003 @ 12:26

Praetor
Moderator
_
7. August 2003 @ 16:40 _ Link to this message    Send private message to this user   
You may also want to take a look at CDOrc or AutoPlay Express, both of which are Autorun configuration doohicky program thingys. :D

ASUS A8V Deluxe, A64-3500 @ 2.65
1GB KingMax PC3700
640GB [4x160GB, 7200, 8MB]
XFX 6800GT 256MB
Rules and Policies: http://forums.afterdawn.com/thread_view.cfm/2487
rajeevjha
Suspended due to non-functional email address
_
8. August 2003 @ 05:26 _ Link to this message    Send private message to this user   
start /w command dint work :(

can i get a link to download autoplay express and the other software ?
Advertisement
_
__
 
_
Staff Member

2 product reviews
_
8. August 2003 @ 06:37 _ Link to this message    Send private message to this user   
AutoPlay Express (looks like it's a 30 day trial):
http://www.imagespro.com/programs/1740/

CDOrc:
http://www.cdorc.com/frameset.php3?lang=eng&banner=6&content=news

There's also a freeware program called Autorun Constructor that you may want to look at:
http://www.windows-reg.narod.ru/acen.htm

With any of these tools you will probably be building a menu with 2 buttons. First you will click on the button to run the first program and then you will have to click on a second button for the second program. That may be as close as you can get without creating an actual installer like professional software uses (like InstallShield).
afterdawn.com > forums > archived forums > cd-r > how do i edit autorun.inf so that i can execute 2 exe files one by one
 

Digital video: AfterDawn.com | AfterDawn Forums
Music: MP3Lizard.com
Gaming: Blasteroids.com | Blasteroids Forums | Compare game prices
Software: Software downloads
Blogs: User profile pages
RSS feeds: AfterDawn.com News | Software updates | AfterDawn Forums
International: AfterDawn in Finnish | AfterDawn in Swedish | AfterDawn in Norwegian | download.fi
Navigate: Search | Site map
About us: About AfterDawn Ltd | Advertise on our sites | Rules, Restrictions, Legal disclaimer & Privacy policy
Contact us: Send feedback | Contact our media sales team
 
  © 1999-2025 by AfterDawn Ltd.

  IDG TechNetwork