tags:

views:

764

answers:

6

I need to include an html page (table of contents) on a CD/DVD. I'd like the html page to open automatically when the user puts the CD/DVD in their machine. Is there a way to do this (the MSDN cds do this) either by purchasing software or otherwise?

A: 

It's dead simple. I use a program called Autorun Pro. Check out this guide.

Tom Wright
+2  A: 

If you don't want to trust to third party programs, or skip over them entirely you can read the MSDN AutoRun Reference. It's not too bad.

toast
+7  A: 

You should be able to do with a relatively simple autorun.inf file in the CD/DVD's root directory:

[autorun]
shellexecute=path\to\htmlfile.html
Adam Rosenfield
A: 

I used (the free version of) AutoRunPro

I remember when I was confronted with the problem once

[autorun]
shellexecute=path\to\htmlfile.html

just wouldn't work on most PC's. I used a program called AutorunPro.EXE, just copied it in the root, and the autorun.inf was :

[Autorun]
open=AutoRunPro.exe

[AutorunPro]
; Here are some sample uses for Autorunpro. It keeps processing Them in Run1..RunN         order until it doesnt find one.
Run1=index.htm
Run2=.

Moreover, you can open several programs, pages, ... with this method in one go.

In either case : test your method beforehand, you don't actually have to burn a CD/DVD in order to do that : look here

Peter
A: 

ShelExec is your ticket. It is free and allows you to specify an optional ico file too.

Dave Johnson