Solved

How to Creating Autorun CD?

Posted on 2010-08-20
30
744 Views
Last Modified: 2012-05-10
He EEs,

Greetings,

I have one PDF file which is a PDF Slide show,

I want to write this pdf file on a CD which must run this slide whenever it is inverted into any Windows based system / OS.

Kindly advice for the same asap,

an earlier reply will be highly appreciated,

many thanks,

dxb
0
Comment
Question by:dxbdxb2009
  • 13
  • 5
  • 4
  • +4
30 Comments
 
LVL 30

Expert Comment

by:Brad Howe
ID: 33490558
Really Simple.
Create an autorun.inf and the appropriate commands to execute.
Take a read at this article.
http://www.cryer.co.uk/brian/windows/howtocacdtwar.htm
Cheers,
Hades666
0
 
LVL 30

Expert Comment

by:Brad Howe
ID: 33490582

Here is the microsoft technet article
http://support.microsoft.com/kb/818804 

Shellexecute - Specifies an application or data file that is to be opened. Windows will launch the application associated with that file type to open the datafile.

example autorun.inf file

[autorun]
ShellExecute=yourfile.pdf

it could also be shellexecute=folder_on_cd/yourfile.pdf.

Cheers,
Hades666
0
 

Author Comment

by:dxbdxb2009
ID: 33490599
Thanks for your reply,

I used the following line:-

[autorun]
ShellExecute=Porcellan Brochure 2010_LR.pdf
icon=Porcellan Brochure 2010_LR.pdf

& "Save As Type was All File" with the name of autorun.inf in the same folder where Porcellan Brochure 2010_LR.pdf was kept,
then i run both Porcellan Brochure 2010_LR.pdf & autorun.inf files on the cd & check but in my computer the my CD drive log is abnormal & autorun failed with the following error:-

"Windows Cannot file "Porcellan". Make Sure you typed the name correctly, and then try again. To Search for a file. click the start button, and then click search"

Kindly advice for the right solution & pls write command line & how to save that notepad file?

an earlier reply is highly appreciated,

many thanks,

dxb
0
The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

 
LVL 30

Expert Comment

by:Brad Howe
ID: 33490603
remove spaces and replace with underscores - Hades666
0
 
LVL 92

Expert Comment

by:nobus
ID: 33490605
rename the file to porcellan - without the rest
0
 

Author Comment

by:dxbdxb2009
ID: 33490628
I write autorun.inf with the following lines:-

[autorun]
ShellExecute=Porcellan_Brochure_2010_LR.pdf
icon=Porcellan_Brochure_2010_LR.pdf

& saved it with the name autorun.inf in the same folder where my pdf is kept
then bunt it by selecting both of these file into nero saved as nrg image load this image into imagedrive but the error is same.

pls let me know where i am committing error,

thanks
dxb
0
 

Author Comment

by:dxbdxb2009
ID: 33490632
thanks nobus,

where i need to rename the file in autorun.inf or the orignal file "Porcellan_Brochure_2010_LR.pdf" need to be renamed?

if yes then what else changes i need to make in autorun.inf?

regards,

dxb
0
 
LVL 30

Expert Comment

by:Brad Howe
ID: 33490642
The original file burnt needs to be renamed and the link in the autorun needs to be the same as the filename.
So,
[autorun]
ShellExecute=Porcellan_Brochure_2010_LR.pdf
icon=Porcellan_Brochure_2010_LR.pdf
and pdf is named Porcellan_Brochure_2010_LR.pdf  in the ROOT of the CD
- Hades666
0
 

Author Comment

by:dxbdxb2009
ID: 33490667
See the name short of the error & autorun.inf contains into burnt CD,

seriously i am not able to do a small thing...how come

pls help

thanks

dxb
ERROR.JPG
0
 
LVL 92

Expert Comment

by:nobus
ID: 33490799
i meant this :
[autorun]
ShellExecute=Porcellan.pdf
icon=Porcellan.pdf

name the pdf Porcellan.pdf  in the ROOT of the CD

0
 
LVL 58

Expert Comment

by:cyberkiwi
ID: 33490805
Try this. Change the word shellexecute to open
0
 
LVL 58

Expert Comment

by:cyberkiwi
ID: 33491132
If the previous comment is right, please accept it. But here is more info.
From the Microsoft site, the right syntax is "open" not "shellexecute"
In fact, .pdf is probably not a valid icon.  Either create one from the pdf using some free tool, or leave it out.

[autorun]
open=Porcellan_Brochure_2010_LR.pdf
0
 

Author Comment

by:dxbdxb2009
ID: 33491391
Nobus:- i did the same you advices but the problem remained same as i posted the error page in my last post,

Cyberkiwi:- I replaced the work "shellexecute" with "open" & it open the dialog box for me to choose the application with which i wish to open this file.....so i selected acrobat reader but it gave me the error. pls find the error attached here with, & post any solution asap,

As far as the shellexecute is concern I tried to remove it & create AUTORUN.INF as below:-
[autorun]
open=Porcellan.pdf

It opened a dialog box for me like previous it did & the same error box came which i attaching here with,

I kindly request you to advice some curable solution,

an earlier reply will be highly appreciated,

many thanks,

dxb

error-new.JPG
0
 
LVL 58

Expert Comment

by:cyberkiwi
ID: 33492803
The obvious question, but with this as your autorun.inf file

[autorun]
open=Porcellan.pdf

Is the file now named "Porcellan.pdf" ?
0
 

Author Comment

by:dxbdxb2009
ID: 33494081
the it is the same named Parcellan.pdf like below:-

[autorun]
open = Porcellan.pdf


Kindly advice where i made mistake or any way to make autorun cd to open my pdf slide show.....any free software can also do...?

awaiting for your earlier reply,

many thanks,

dxb
0
 
LVL 92

Expert Comment

by:nobus
ID: 33494164
with what application did you make the slide show?
0
 

Author Comment

by:dxbdxb2009
ID: 33494330
Adobe photo album ....starter edition
And it is being opened by double clicking on the root of the CD....FYI
0
 
LVL 58

Expert Comment

by:cyberkiwi
ID: 33494336
No, not like below

[autorun]
open = Porcellan.pdf

but like below

[autorun]
open=Porcellan.pdf

No extra spaces
0
 

Author Comment

by:dxbdxb2009
ID: 33494368
tried both the way without any success....

i got the same error i posted in my last post.

ps advice any other sol which can work!

many thanks

dxb
0
 
LVL 92

Expert Comment

by:nobus
ID: 33494861
imo -the photo starter album is not  suited to display a photo album
0
 

Author Comment

by:dxbdxb2009
ID: 33495258
but it opens when i double click on the pdf properly in acrobte ...

pls come to the point to make autorun cd

any software you advice to make autorun...

many thanks

dxb
0
 

Author Comment

by:dxbdxb2009
ID: 33495262
but it opens when i double click on the pdf properly in acrobte ...

pls come to the point to make autorun cd

any software you advice to make autorun...

many thanks

dxb
0
 
LVL 9

Expert Comment

by:Subrat (C++ windows/Linux)
ID: 33497814
I think if u r using VISTA/WIN7, autorun will not work by default.
0
 
LVL 9

Expert Comment

by:Subrat (C++ windows/Linux)
ID: 33497832
First try to launch ur application using cmd prompt. See what command is working perfectly, then use that command accordingly.


 [autorun]
open=command /c start Porcellan.pdf




Open in new window

0
 

Author Comment

by:dxbdxb2009
ID: 33508384
I am using XP SP3 OS

when i lunched cmd it gave me the following error:- (Note me is the folder CD Root folder )

C:\Documents and Settings\Administrator\Desktop\me>parcellan.pdf
'parcellan.pdf' is not recognized as an internal or external command,
operable program or batch file.

kindly advice.

dxb
0
 
LVL 92

Expert Comment

by:nobus
ID: 33509388
here a free software + tutorial to make it :  http://www.ezau.com/latest/articles/slide-show.shtml
0
 

Author Comment

by:dxbdxb2009
ID: 33510641
I already have created the slide show which is running perfectly well in pdf....i just need this to be launched automatically when it the cd is inserted into the windows drive...
pls advice for the same
dxb
0
 

Expert Comment

by:JuniorHP
ID: 33524159
0
 
LVL 3

Accepted Solution

by:
vanillasprinkles earned 500 total points
ID: 33537295
it is most likely because open="file" is looking for an application executable (and i have no idea why shellexecute is not working for you)

i have compiled a really simple program, which should do the trick for you (it uses shellexecute and launches files)


autorun.inf:

[autorun]
open=open.exe Porcellan_Brochure_2010_LR.pdf


[autorun]
open=open.exe "Porcellan Brochure 2010 LR.pdf"

open.exe
0
 

Author Closing Comment

by:dxbdxb2009
ID: 33552604
I love you vanillasprinkles.... excellent job..

Pls accept 500 points for the great help,

many thanks,

dxb
0

Featured Post

Flexible connectivity for any environment

The KE6900 series can extend and deploy computers with high definition displays across multiple stations in a variety of applications that suit any environment. Expand computer use to stations across multiple rooms with dynamic access.

Question has a verified solution.

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

This article was inspired by a question here at Experts Exchange (http://www.experts-exchange.com/Software/Photos_Graphics/Images_and_Photos/Q_28629170.html). The requirements stated in that question are (1) reduce the file size of a large number of…
AutoHotkey is an excellent, free, open source programming/scripting language for Windows. It started out as a keyboard/mouse macros product, but has expanded into a robust language. This article provides an introduction to it, with links to addition…
The viewer will learn how to successfully create a multiboot device using the SARDU utility on Windows 7. Start the SARDU utility: Change the image directory to wherever you store your ISOs, this will prevent you from having 2 copies of an ISO wit…
The viewer will learn how to successfully download and install the SARDU utility on Windows 7, without downloading adware.

679 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