How to create a bootdisk that will run a program on startup
As "Olórin" says in his reply, the file AUTORUN.INF only runs the setup [.exe] file
specified in it's contents on being detected by Window's "Auto-Run" facility (if not
disabled).
Booting, and getting a "setup" file to run, from a cd-rom, is totally different.
You first need to create a bootable floppy disk as your cd-rom's "boot-image" .
You can then insert a command into it's AUTOEXEC.BAT file to run on boot.
The final, bootable, cd-rom will use this floppy disk-image to boot from, and will
start the specified program, even if it is located on the "body" of the cd-rom
(rather than on the floppy image).
If your "setup" file will only run under Windows (or other 32/64bit OS), then you
would probably have to do things differently... make a PE disk (Preinstalled
Environment disk) for instance...
I'm sure there will be options for allowing such a disk to auto-start a selected
program when booted.
Look-up "BARTS PE DISK" on google.
==
Cheers, Tim Meddick, Peckham, London. :-)
"Jim" wrote in message
...
Can anyone tell me how one would go about creating a bootdisk
that would run a certain operating system setup program?
The disk has the AUTORUN.INF file in the correct format, but
the disc still will not boot. What I want to do is insert a
completely empty C: hard disk drive in my Thinkpad, and have the DVD
drive run the setup.exe for an operating system which is on the disk,
but it will not autostart.
I understand NERO has a way to create a bootdisk. Is there any other
way to create a disk that will autostart.
The Autorun.inf file reads as follows:
[Autorun]
open=setup.exe
icon=setup.exe,0
With the Thinkpad, you have the option to boot from the CD/DVD drive
upon startup.
Anyone know how I can make this disk autostart? I'm sure something is
missing from the disc.
|