CD based websites

I have to supply a site on a CD which is something I’ve enver done before and this CD is going to be reproduced in the thousands so I have to get it right first time.

It’s a simple HTML/CSS site and there needs to be an intro type page with some terms and conditions with an ‘I agree’ box that must be checked before access is allowed.

I’ve downloaded a free program called DWebPro and I’m going to have a play with that but I’m on a short deadline so any advice on how best to do this is appreciated.

Cheers, Rich

Based on google searching, you could try this: http://jordan.broughs.net/archives/2008/03/creating-cross-platform-windows-and-mac-installer-cds

I scoured my notes looking for more information and found this too

autorun.bat

@echo Loading CD
@start index.html
@cls
@exit

I’m guessing what I had was for Win98 as it was that long ago.

So … TBH I don’t know if those would work for newer Win versions or for other OS (aren’t “bat” files Win only?)

Basicaly, in my earlier examples both “auto” files do the same thing - call an exe file.

The “exec” file calls directly, the “run” indirectly by calling the “bat” that calls the exe file.

In the last that I just found it calls a page instead of a program, but I see no reason why you couldn’t have multiple “start” lines if you wanted them.

Should I include all three of those files? Is it like a cross browser compatability type thing but for CDs?

According to the Wikipedia page on autorun.inf ShellExecute will run on win2000, WinME and higher.

No idea about mac and/or *nix

BTW. Since the icon= defines the icon for the drive when shown in windows explorer, you might want to try something a little bit more fancy than the default icon for .html files.
I’m not even sure anything other than an .ico file will work …

I thought about doing something similar a while back but never did so I don’t know if this is any help

autoexec.inf

[autoexec]
open="startingprogramfile.exe"

autorun.inf

[autorun]
open=autorun.bat

autorun.bat

@echo Loading CD
@start WHATEVER.EXE
@cls
@exit

This is the big question for me this morning, how to ensure that MAC users can view the CD contents?

Will this work on all operating systems? (Don’t care about win 98 or lower)

[autorun]
ShellExecute=index.htm
icon=index.htm
label=text TITLE