geocine Posted January 9, 2007 Share Posted January 9, 2007 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 Quote Link to comment Share on other sites More sharing options...
marc Posted May 20, 2007 Share Posted May 20, 2007 Thank you very much for this. Helped me a lot in getting the U3 software working nicely with my payload. Quote Link to comment Share on other sites More sharing options...
GonZor Posted May 20, 2007 Share Posted May 20, 2007 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.