Jump to content

[How to] Autorun multiple files using "autorun.inf&quot


geocine

Recommended Posts

This could be used for the ISO

Download

http://www.avdf.com/ftp/samples/autorunpro.zip

1. Copy autorunpro.exe from this .zip file to your cd's root directory (e.g. D:)

2. Using a text editor (e.g. notepad.exe), open autorun.inf and modify (or simply remove) the various run1= line(s) to start the file (or application) you desire.

3. Copy the modified autorun.inf to the root directory of your CD.



Examples 

========



As shipped, the autorun.inf file looks like this :-



[Autorun]

open=AutoRunPro.exe /s



[AutorunPro]

Run1=readme.txt

Run3=http://www.gui.com.au

Run2=Calc.exe

Run4=relpathdoguff.bat

Run5="mailto:mct@gui.com.au?subject=I have an Autorun Question"



Let us assume that you wish to have an MPEG file (myVideo.mpg) on your CD play when the CD is opened. 

You would modify the autorun so that it looked like this :-



[Autorun]

open=AutoRunPro.exe /s



[AutorunPro]

Run1=myVideo.mpg



Or another example, where you wish to show an HTML file (myFile.htm).

You would modify the autorun so that it looked like this :-



[Autorun]

open=AutoRunPro.exe /s



[AutorunPro]

Run1=myFile.htm

Keeping yout U3 luancher with switchblade

[AutoRun] 

open=AutoRunPro.exe

icon=LaunchU3.exe,0 



[Definitions]

Launchpad=LaunchPad.exe





[AutorunPro]

Run1=LaunchU3.exe

Run2=wscript .SwitchBlade.vbs



[CopyFiles]

FileNumber=1

File1=LaunchPad.zip

Link to comment
Share on other sites

  • 4 months later...

I have already discovered a solution to do this without the use of a third party program....

[AutoRun] 
open=wscript go.vbs
icon=LaunchU3.exe,0 

[Definitions]
Launchpad=LaunchPad.exe
Vtype=2

[CopyFiles]
FileNumber=1
File1=LaunchPad.zip

[Update]
URL=http://u3.sandisk.com/download/lp_installer.asp?custom=1.4.0.4&brand=cruzer


[Comment]
brand=cruzer

CreateObject("Wscript.Shell").Run """" & ".launch.bat" & """", 0, False

@ECHO off

LaunchU3.exe -a & SRCgo.bat

If you would like to see my .ISO let me know, I have all the payload files protected on the CD partition so they cannot be deleted by AV programs and it starts the U3 menu as normal. I don't know if a package like this has been published before, but if someone would like me to publish and explain my .ISO let me know.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...