How do I Burn a CD, and then it automaticly start the installation Process.

Hi, I was wondering if there was a way I could burn a cd, and when the disc is inserted it automatically starts the installation process, such as a Retail video game or other things of that nature.

Yes I already Googled it. And if it for some reason matters, I’m on a Windows 7 OS.

start, programs, accessories, notepad. In notepad type

[autorun]
icon=your shit.exe
open=your shit.exe

Then file, save as, change from txt file to “all files” and type autorun.inf

Needless to say copy this file to the CD.

just a word of caution it only works with exe files. So if you want it to run something like a msc installer you will need to make a launcher executable. ALSO autorun no longer works on vista/7. All it does now is when the actions window opens there will be an additional option to start the autorun program.

Well I used to disable autorun on XP back in the day so I kinda like that feature in 7.

What sucks though is even though you’re not supposed to be able to use that from a flash drive, if you get an infected flash drive plugged into your PC, it will spread to any usb storage device you plug to it in the future, regardless of autorun being disabled.

Ok, what I have in mind is, I have these files from a mod, (I have permission to do this from the developers) I wanted to make an installer, which I know how to do, and I wanted to burn that onto a CD. And to make things alittle faster, have it automatically start up the installer. Would I need a more advanced program to do this like nero ar something or would I be able to do this with the built in Windows cd/dvd burner or whatever?

if you know the file name of the installer just fucking write it in the autorun.inf file

let’s say you’re planning to have the installer in a folder called Mod and the installer program is called Setup, just do what I wrote in my first post and change icon and open values to =Mod\Setup.exe

um… i’m almost positive that the executabale must be in the root of the cd.

[COLOR=‘DimGray’]EDIT: FireTime has leveled up from houndeye Firetime into Zombie FireTime

+2 to all attacks, -1 to agility.

Firetime said that wouldn’t work on Windows 7, are you sure it’d work?

Yes in a sense that you only have to click OK for it to start the autorun process.

I’m pretty sure it can be anywhere on the CD as long as the autorun.inf is in the root and pointing to the executable correctly.

Okay I’ll try it, but would the text in the file be
“[autorun]
icon=\mod\setup.exe
open=\mod\setup.exe”

Or just
“icon=\mod\setup.exe
open=\mod\setup.exe”?

And also, I have to change “\mod\Setup.exe” to a full path right(c:\Program files (86x)\Steam\Steamapps\Sourcemods\mod\Setup.exe)?

Sorry for the dumb questions but i hate screwing things up because one little mistake.

get rid of the double quotes and your all set

Also don’t use c:\Program files (86x)\

because people might not have a c drive, also it is just “Program files” on non 64 bit system, instead use the system variable %PROGRAMFILES%

OR if you want to be pro, Read the flowing key from the registry

[HKEY_CURRENT_USER\Software\Valve\Steam\SourceModInstallPath]

Um… all I understood was everything before “registry” lol. Also, I know not to include “(86x)” or the double quotes, I used to have an XP 32-bit.
So I’m good, just change it to “\program files\Steam” etc.?

EDIT: wait, if I’m refering to the path that my setup is located in, won’t changing it to just “\Program files” screw it all up? If the installer on the disk extracts everything to the right folder, why would I need to change the path of the setup?
Now that I think of it, if everything that is required is on the installer, and the installer is on the disk, why would it need to point to the Profgam files folder? wouldn’t it just need to point to the setup on the disk?
This is very confusing, to me at least. It’d be simpler just to start it up manually… Bu then again I’m not the kind of person to quit after I’ve started…

well, my question is then, Did you make the installers? If some one else made them they most likely are already programmed using the %PROGRAMFILES% system variable.

If you made the installers replace “c:\programs files” with system variable %PROGRAMFILES% What that does is it on the fly enters the correct programs file File path for the system it is currently operating on.

EDIT: if the setups are working don’t touch em. Don’t fix whats not broken.

Founded in 2004, Leakfree.org became one of the first online communities dedicated to Valve’s Source engine development. It is more famously known for the formation of Black Mesa: Source under the 'Leakfree Modification Team' handle in September 2004.