Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CD auto run

Status
Not open for further replies.

Placer

Technical User
Jul 10, 2001
19
US
I'm not sure where to ask this question, so I thought I'd start here . . .

I need to make an auto run CD. The files are just HTML pages. When you put the CD in the drive I want it to launch the "home" HTML page allowing the viewer to click around in the "site" on the CD.

Anyone familiar with what I need to do here?

Thanks.
 
Yep, this is pretty easy to do, BUT you need to point to an exe file because autorun won't launch an HTML file on it's own. Here's what I did:

I made a simple flash movie with a button that opens index.html. Then all you need to do is save the movie as a windows projector file (it will be an exe file then). Then you simply open up notepad and type this in:

[autorun]
OPEN=SPLASH.EXE
ICON=ICON.ICO

where SPLASH.EXE is the executable made in flash. You can also do an icon for it which here is ICON.ICO. If you don't want an icon then you can leave that line out. Then save it as "autorun.inf". An easy way of doing an icon is to open up paint and set the canvas size to 30x30. Then do you picture and save it as bitmap. Then just change the extension to .ico.

If your not familiar with how to do a projector file in flash, or not familiar with Flash, then post again and let me know the name of your first page and i'll do a projector for you. If you wanna have a go yourself then I can give you more details if you need them.

There are other ways of doing this, I think with a batch file, but I prefer the FLash way because it's a bit slicker. And you can make a really good animation with it too.

Hope this helps for now! :)
 
or if you don't want the flash to wast any time making people press a button, just put getURL("index.html")in the first fame of the movie, and it will just jump to the html right away. not knowing is an excuse for those umwilling to lern -- John Rueben
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top