Help Wanted

Autoload – Soul Joy

Soul Joy

Member

Posts: 35
From: Hallettsville, TX , USA
Registered: 12-18-2002
Hello all
I am looking for a system that will autoload an .exe file for an e-book system I am working on. The purpose being the loading of a Buisness Card CD or for that matter any CD so that the it will load automatically and run the .exe file. I have an install shield program by installshild but this is more for a software application. I am looking for something that just simply loads the presentation. Any suggestions?

------------------
Luke 12:15 Then he said to them, "Watch out! Be on your guard against all kinds of greed; a man's life does not consist in the abundance of his possessions."

CobraA1

Member

Posts: 926
From: MN
Registered: 02-19-2001
No problem - What Windows does is read a file called "AUTORUN.INF" from the CD, and runs the program listed - and Windows also uses the icon indicated by the file to display as the CD-ROM.

It's a text file, you can make it with Notepad. Here's an example of the contents of an AUTORUN.INF file. Simply point the "OPEN" line to the executable containing the presentation:

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

c h i e f y

Member

Posts: 415
From: Surrey, United Kingdom
Registered: 03-07-2002
CobraA1

so... you put in your notepad.inf and the CD autoruns, I have seen this happen with commercial programmes and I was then prevented from examining the dir of the CD concerned.

I have a readme.doc on my CD that I want ppl to have the "option" of looking at but if they cannot dir the disc they won't even know it's there

I like the idea of the autorun, it sounds like it will stop anybody "getting" to my photos which are also on the CD

CAN a person examine a dir of a CD that contains an autorun as you described ?

------------------
from your old mate
c h i e f y
global chiefy to yer old seafarin' maties

Soul Joy

Member

Posts: 35
From: Hallettsville, TX , USA
Registered: 12-18-2002
I have not had any success with the autorun item as of yet. I tried the following and my XP system opens it but 95, 98, and Me did not work. Which for is kinda odd since most of the time it is just the opposite with any program. XP is ok for an office but really stinks when it comes to working with older programs.
[autorun]
OPEN=presentation.EXE
ICON=ICON.ICO

In regards to "CAN a person examine a dir of a CD that contains an autorun as you described ?"
I would think they could although I have never really looked into this since you have the option to "explore" in windows. I suppose a program could be written to make an item hidden but in all actuality you would probably do a better job by creating a reading program that reads the file only in your program. Of course I know that if you change the extensions it becomes readable but if you are dealing with a collection of photos it would be a real pain. Of course this can be gotten around I am sure with the a program that changes extensions. It is easy to do in Html editing software. You just search for names you want to change and then tell the program what you want it changed to. I do not believe it could be used in a commercial application due to the fact that people do not like having something hidden from them when they purchases an item.
This of course does not mean you cannot water mark an item with your information.

Online you can set a page not to cache, and set a right click java script that will kill the right click and make into a menu for other items such as backward, forward etc. This of course does not stop someone from saving the page and I do not know anyway to stop them from getting the photos from there. There are some programs in which a photo can be made so that it cannot be copied without permission. Paint Shop Pro 7 has a watermark system that includes options for "restricted use, Do not copy, and Adult content"
Most of all of this is to keep the novice computer user from accessing files but anyone who has dealt with these fine idiot boxes we call computers can usually get at anything with a little work and some help from some friends. Copyrights at least keep you from loosing your work but it is a big world and I have even found one of my sons first clowns on the back of jeep window in Victoria. It looked great but someone else was making the money. I have to stop or this will become a book BIG SMILE
God bless you
David


------------------
Luke 12:15 Then he said to them, "Watch out! Be on your guard against all kinds of greed; a man's life does not consist in the abundance of his possessions."

CobraA1

Member

Posts: 926
From: MN
Registered: 02-19-2001
Chiefy, the file shouldn't prevent anybody from reading directories on the CD. I think the CDs you are referring to probably have another means of hiding directories. Try it on a CD-R. The file shouldn't hide anything, as far as I know.

AUTORUN.INF should work with any version of Windows from 95 up.

Microsoft has info about AUTORUN.INF here:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/shell/programmersguide/shell_basics/shell_basics_extending/autorun/autoplay_cmds.asp

Google autorun.inf, and you'll find some utilities to automate creating an AUTORUN.INF file.

You have to have auto-insert notification enabled on your CD-ROM, otherwise Windows can't tell whether a CD has been inserted. A registry setting has to be set correctly also (which is usually, but not always, the case).

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/shell/programmersguide/shell_basics/shell_basics_extending/autorun/autoplay_cmds.asp

quote:
There are some programs in which a photo can be made so that it cannot be copied without permission.

Not quite right. Watermarking won't prevent copying, it simply makes detection of a copy easier. There are lots of image-editing programs that don't detect watermarks, and will copy images with or without a watermark. Windows Paint doesn't detect watermarks, and neither do most low-end paint programs. Watermarking just makes finding copies easier.

BlazeQ

Member

Posts: 260
From: USA
Registered: 05-11-2002
quote:
Originally posted by c h i e f y:
CobraA1

so... you put in your notepad.inf and the CD autoruns, I have seen this happen with commercial programmes and I was then prevented from examining the dir of the CD concerned.

I have a readme.doc on my CD that I want ppl to have the "option" of looking at but if they cannot dir the disc they won't even know it's there

I like the idea of the autorun, it sounds like it will stop anybody "getting" to my photos which are also on the CD

CAN a person examine a dir of a CD that contains an autorun as you described ?


I think what Chiefy means is when he tries to open the CD with Explorer the Autorun pops up.

The way to examine the dir is by right-clicking on the drive and selecting "Explore"

------------------
I'm out of my mind... and into the mind of Christ -G.S. Megaphone

c h i e f y

Member

Posts: 415
From: Surrey, United Kingdom
Registered: 03-07-2002
aha BlazeQ you answered it for me, right click on the drive and "explore" I didn't know that, actually "explore" is just obscure to me altogether, thanks I'll check it out
and CobraA1 thanks for the autorun.inf lowdown, I am gonna use that now, cheers

------------------
from your old mate
c h i e f y
global chiefy to yer old seafarin' maties

Soul Joy

Member

Posts: 35
From: Hallettsville, TX , USA
Registered: 12-18-2002
I think I have misunderstood what chiefy was looking for but at least the question is answered. Just a quick not on copyrights, even if you do have it watermarked and you do not register it first at the copyright office and some else does, you stand a very strong chance of losing the copyright. A while back people could still do a poor mans copyright (mail a copy to yourself in the mail and never open it), but legislation killed that. I found this out at a Grammy meeting with a bunch of lawyer discussing the subject.
Poor mans copyrights are no longer admissible or recognized in a court.
I know for a fact this can happen because it has happened to me. As far as the copyright people are concerned if you think it is of value than you should have obtained the proper copyright. I do suppose this makes sense even if it seems a bit unfair.

------------------
Luke 12:15 Then he said to them, "Watch out! Be on your guard against all kinds of greed; a man's life does not consist in the abundance of his possessions."

Soul Joy

Member

Posts: 35
From: Hallettsville, TX , USA
Registered: 12-18-2002
Opps forgot to say thank you for all the information on auto run.
It is very much appreciated.
Sincerely,
David K.

------------------
Luke 12:15 Then he said to them, "Watch out! Be on your guard against all kinds of greed; a man's life does not consist in the abundance of his possessions."

CobraA1

Member

Posts: 926
From: MN
Registered: 02-19-2001
A good paper on copyright law is here - written by a lawyer on copyright and computer law:

http://www.ifla.org/documents/infopol/copyright/breslow.txt

From what I gather, you have a copyright automatically, although registering it is a "d**n good idea" (Breslow).

As far as exploring goes, I have seen many companies put an "explore CD" option in their autorun program to get around that problem. BTW, there are ways to explore that won't invoke autorun, such as right-clicking and selecting "explore", which BlazeQ mentioned.

Soul Joy

Member

Posts: 35
From: Hallettsville, TX , USA
Registered: 12-18-2002
Thank you for the link and by the way the Texas Music office has a great list that covers most of everything having to do with media
You can find it here

http://www.governor.state.tx.us/divisions/music/guides/genbus.htm/view#PERFORMING

It covers the following
Copyrights | Performing Rights Affiliations
Royalties | Trademarks | Filing An Assumed Name
Incorporating | UPC | Retail Sales Tax Permits
Suggested Reading List

God bless you and keep you
Sincerely,
David Kelsey

------------------
Luke 12:15 Then he said to them, "Watch out! Be on your guard against all kinds of greed; a man's life does not consist in the abundance of his possessions."

c h i e f y

Member

Posts: 415
From: Surrey, United Kingdom
Registered: 03-07-2002
CobraA1

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

I tested my CD exe and the notepad file works a treat, but what about the ICON part ? I am still trying to suss how I could use that and don't really understand that part

the open=setup.exe I have tried and that is fine, it caused the exe on the CD to run straight from insertion of the CD into D:\ but please give an example of how I would use icon, is it to do with a .gif or .jpg ? Please give a couple of examples
thanks

------------------
from your old mate
c h i e f y
global chiefy to yer old seafarin' maties

BlazeQ

Member

Posts: 260
From: USA
Registered: 05-11-2002
You can use any paint program to make a picture 32x32 pixels in size and then save it as a BMP

Then in explore or a similar prog, rename the file extension to ICO. It's a cheat, but if your prog can't save ICO then use it.

Next, burn it on the CD with your other files with your autorun file pointing to the icon.

Example:
[autorun]
OPEN=myprogram.exe
ICON=myicon.ico

------------------
I'm out of my mind... and into the mind of Christ -G.S. Megaphone

CobraA1

Member

Posts: 926
From: MN
Registered: 02-19-2001
ICON=ICON.ICO simply changes the icon for the CD-ROM when your disk is in the drive. If you want to keep the standard CD-ROM icon, just delete the line. Otherwise, you can follow BlazeQ's directions and make your own icon.
BlazeQ

Member

Posts: 260
From: USA
Registered: 05-11-2002
quote:
Originally posted by CobraA1:
ICON=ICON.ICO simply changes the icon for the CD-ROM when your disk is in the drive.

Heh, I was going to post that important piece of info, but forgot. Thanks

------------------
I'm out of my mind... and into the mind of Christ -G.S. Megaphone

c h i e f y

Member

Posts: 415
From: Surrey, United Kingdom
Registered: 03-07-2002
hehe now I understand, that is flippin' cool, can't wait to try it, BlazeQ thanks for rename the file extension to ICO. It's a cheat, but if your prog can't save ICO then use it. that is great advice boy I learned a lot from this thread, SoulJoy I'm glad you put this question now my friend

------------------
from your old mate
c h i e f y
global chiefy to yer old seafarin' maties