Solved

foolproof autorun

Posted on 2002-03-26
4
351 Views
Last Modified: 2008-02-01
What is the best way to set up an autorun for a CD-ROM? I've got a web project a client wants on CD-ROM and I tried using

[autorun]
OPEN=start index.html

Where index.html is the starting page, but it won't run on the client's PC. They run XP Pro if that makes a difference. Would it be better to hard code the path to the browser .exe?

And what are autorun.exe's? Are they a better way to start a CD?
0
Comment
Question by:jgla
  • 2
4 Comments
 
LVL 4

Expert Comment

by:Bit_Twiddler
ID: 6898130
Since HTML files are not self executing you need to use start.exe.

First copy the "start.exe" file from your c:\windows\command directory to your CD-ROM.


then use


[autorun]
open=start.exe index.html


One disadvantage of this method is that it will display a transient DOS window before the default browser fires up.

If this is an issue then you will need to use a third party program like ShellRun  http://www.phdcc.com/shellrun/ to replace start.exe. It is available as freeware and a retail version. Others are also available to do the same task.





0
 
LVL 1

Accepted Solution

by:
RockinFewl earned 175 total points
ID: 6898602
'Made a while back the so manieth launcher tool, one of those capable to launch whatever document you want. You'll find heaps of them all over the Web.

Unrivaled by other launcher tools though, 'shellexe' takes a series of document types, and attempts to open them one by one until one succeeds.
This allows to take into account that the user hasn't a particular viewer application installed. You could e.g. first opt for PDF, then HTML, and eventually TXT.

Shellexe is especially developed for autorun purposes: it's under 60K, very simple to use, and doesn't expect anything special on the client -- so it will run on any Windows 95+ and NT3.51+. Most importantly, it's free.
http://www.whirlywiryweb.com/q/shellexe.asp

RF
0
 

Author Comment

by:jgla
ID: 6899458
Just the right answer! Thanks.
0
 
LVL 1

Expert Comment

by:RockinFewl
ID: 6899977
You're welcome jgla.
0

Featured Post

Space-Age Communications Transitions to DevOps

ViaSat, a global provider of satellite and wireless communications, securely connects businesses, governments, and organizations to the Internet. Learn how ViaSat’s Network Solutions Engineer, drove the transition from a traditional network support to a DevOps-centric model.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
Does your audience prefer people in photos or no people? How can you best highlight what you’re selling? What are your competitors doing, and what can you do that is different and unique from them?  Continue reading to learn how to make your images …
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question