The little task of the day: create a cdrom ISO image (for Windows) and put into it a website browsable from the CD (with no internet connection).
I’ll use Linux as a client, of course 🙂 So, fire up your favorite terminal shell and run:
[source: js] # mkisofs -J -o image.iso /path/of/data
[/source] Note: the flag -J assures the Windows Joliet compatibility (long filenames)
The final touch: before creating the image, I have made a little autorun.inf into the root of the CD, with this code inside:
[source: js] [autorun] shellexecute=index.html
[/source] This autorun code launch the default browser with the HTML file present in the root.