I need something for >Auto run program< - Techist - Tech Forum

Go Back   Techist - Tech Forum > Computer Software > Microsoft Windows and Software
Closed Thread
Thread Tools Display Modes
Old 10-27-2004, 04:50 PM   #1 (permalink)
Junior Techie
Join Date: Feb 2004
Posts: 61
Default I need something for >Auto run program<


Can somebody (please) tell me what program to use to create kind of auto run program (for CD) to present some products with buttons and links, general informations, pictures and so on.


I\'m not here because I know, I\'m here to learn!
afroman is offline  
Old 10-27-2004, 04:51 PM   #2 (permalink)
Master Techie
Join Date: Oct 2003
Posts: 2,258

Demoshield comes to mind. Something I've palyed with a little. Kind of cool

Inaris is offline  
Old 10-27-2004, 05:15 PM   #3 (permalink)
PowerQuest / Opera
TheMajor's Avatar
Join Date: Jun 2004
Location: Netherlands
Posts: 10,177

you can use an autorun.ini file and let it open a HTML file..not sure how it works though.
TheMajorMMX - Intel P200 MMX @ 225Mhz - V-Tech (PcPartner) Baby-AT mb w/ Intel Triton TX chipset - Nvidia Riva TNT2 M64 w/ 16MB - 256MB M-Tec SDRAM - Still running.....
TheMajor is offline  
Old 10-28-2004, 02:56 PM   #4 (permalink)
Junior Techie
Join Date: Feb 2004
Posts: 61

Something more - any advice welcome
I\'m not here because I know, I\'m here to learn!
afroman is offline  
Old 10-28-2004, 03:06 PM   #5 (permalink)
Master Techie
Join Date: Jul 2004
Posts: 2,932

Find an autorun ini file from another place (like a game CD) and take a look at it. When you insert a CD into the computer, Windows searches for an autorun.ini file with instructions on what the computer should try to execture (usually an installer exe).

If you're talking about making an installer (like InstallShield) you're opening another can of worms. A big one.

Don\'t hate the player...Hate the game...
ShoobieRat is offline  
Old 10-28-2004, 03:11 PM   #6 (permalink)
Wizard Techie
Join Date: Jul 2003
Posts: 3,937

You cannot open html with autorun.ini. afroman I use a free program that makes an executable that opens a web page. When I get back to my main computer I'll send you the name. Otherwise you can use autorun.ini to excute a batch file that opens the web page

taken from http://www.softwarepatch.com/tips/autorun.html

How to create your own free CD autorun for HTML and most file types.

Related link: Autorun files (2Kb)

Create your own autorun CD or DVD
It is easy to create an autorun CD or DVD for Windows and all it takes are a few files (which we've supplied for free). The technique can be used to open other file types, but HTML is used for a reason: it is the most commonly supported by Windows (most PCs have a Web browser) and it is flexible. You could use it to open other files, such as a Powerpoint presentation, but it would require the end user to have Powerpoint or the Powerpoint viewer on their system.

The autorun zip file we've prepared contains everything you need to autorun a CD and open a HTML file. So download a copy - it's tiny and free - see above for the download link.

So why can't an autorun open a HTML directly? It is because a Windows autorun can only open an application (program) not a data file (eg HTML). You cannot tell an autorun to directly open a HTML file. Try it, and nothing will happen. To get around his problem, we are using a .bat file which Windows will treat as a program. This special file will then open the HTML file.

Assembling the CD
Download and copy the files to your root directory of the CD. These are: autorun.inf, autorun.bat and index.html. You can put all sorts of files on the rest of the CD. They won't affect the autorun. You can test the autorun by burning the three files to the root directory of a test CD-R. Open the CD drive and close it again. Viola, you have just created your own autorun HTML CD. You should change the contents of index.html to whatever you need. The index.html supplied is only a test page.

Changes you can make
The autorun can open any type of file and display any message you want. To make changes, open Windows Notepad (do not use Word, WordPad or other Word processors). Now open the autorun.bat file from within Notepad. The order is important, if you double-click the autorun.bat file, it will try to run. So open NotePad and select File-Open and choose the autorun.bat file. You'll see four lines of code.

The first line after @echo (remember the space) will appear as a comment in the autorun launch Window. This comment will be seen very briefly by your end-users. It can be changed to anything you want, but since it only appears for a second or less, don't make it too wordy. If you wanted to say 'The CD is loading now...', the first line of code will look like:

@echo The CD is loading now...

The second line of the code tells the .bat file to open to your index.html file. If want to open a file by another file (eg readme.txt), then it would read:

@start readme.txt

Make sure you leave the last two lines untouched (@cls and @exit) - they must always appear last. Save the changes and you are done. That that's all you need to create your own HTML autorun CD.

ekÆsine is offline  
Old 10-29-2004, 06:00 AM   #7 (permalink)
Junior Techie
Join Date: Feb 2004
Posts: 61

This was helpful - Thanx a lot

I\'m not here because I know, I\'m here to learn!
afroman is offline  
Closed Thread

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Our Communities

Our communities encompass many different hobbies and interests, but each one is built on friendly, intelligent membership.

» More about our Communities

Automotive Communities

Our Automotive communities encompass many different makes and models. From U.S. domestics to European Saloons.

» More about our Automotive Communities

Marine Communities

Our Marine websites focus on Cruising and Sailing Vessels, including forums and the largest cruising Wiki project on the web today.

» More about our Marine Communities

Copyright 2002-2015 Social Knowledge, LLC All Rights Reserved.

All times are GMT -5. The time now is 11:10 AM.

Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2016, vBulletin Solutions, Inc.