Author |
Topic: Running an application and file from CD (Read 3579 times) |
|
Siby
Guest
|
|
Running an application and file from CD
« on: Jun 16th, 2005, 12:58pm » |
Quote Modify
Remove
|
I've created a CD that contains: # Adobe Reader 7.0 application on it including all necessary dlls to run from the CD. # PDF file named title.pdf # an html webpage named index.html with a button linking to title.pdf on the CD. The purpose of this CD is so that when a user pops this CD into their computer the "index.html" webpage launches automatically by default. From that webpage the user clicks a button that points to the Reader7.0 app ON THE CD, launches it, and has it run from the CD. Not only does it launch the app but opens the title.pdf file as well. The PROBLEM I'm having is 1. When the button link is clicked the user is prompted with a decision to save or load the app. I don't want this message to come up. 2. When the user gets past this prompt, it loads the Reader app but not the particular file to be viewed. Any help is appreciated. Thanks
|
|
Logged |
|
|
|
Support Staff
YaBB Administrator
Meow!
Gender:
Posts: 1133
|
|
Re: Running an application and file from CD
« Reply #1 on: Jun 20th, 2005, 6:39am » |
Quote Modify
|
Hi! With CDFrontEnd you don't need to insert the HTML file (an HTML file works ONLY if a browser is correctly installed on the end user PC). With CDFrontEnd it is very simple to create a page that permits to the end user both/either to install the Acrobat Reader and/or to see the PDF file (autorun autoplay a PDF file ) As per what you say, usually it is preferable to put on the CD the self-installing exe file for Acrobat/Adobe Reader then let the user decide if he really needs to install, instead. In any case with CDFE you can run applications without confirm, either: - make sure you disabled the save/exec prompt (if you used Insert >Link then 4th tab, there is a checkbox that does disable it) - use the run: command that runs external files. You find a lot of examples of the run: usage within the Tutorials (hit F1; there is an example where you create a simple CD with PDF files) or within the PDF manual... Our main quick tutorials are online: - how to run external files - autorun autoplay a PDF file - autorun autoplay a Power Point presentation (PowerPoint PPS, PPT) - create an autorun CD - autorun a file passing it to a program Some common errors / problems / mistakes when creating an autoplay CD brochure (or presentation, CD business card, catalogue, etc.) are listed within these topics: common CD problems #1 common CD problems #2 common CD problems #3
|
« Last Edit: Oct 5th, 2005, 2:27pm by Support Staff » |
Logged |
|
|
|
PJ Mead
Guest
|
|
Re: Running an application and file from CD
« Reply #2 on: Oct 5th, 2005, 2:37pm » |
Quote Modify
Remove
|
I wanted to create a autorun CD with menu for selecting and running video segments (MPEG-1) that would be used for service and training CDs; and some documentation. I've tried to run files (with Insert >Link to external file and the run: feature) but it seems it doesn't work. Please help...
|
|
Logged |
|
|
|
Support Staff
YaBB Administrator
Meow!
Gender:
Posts: 1133
|
|
Re: Running an application and file from CD
« Reply #3 on: Oct 5th, 2005, 2:41pm » |
Quote Modify
|
The only potential problem when you run external files is that the stuff does NOT work in preview (where within the editor) or with the TEST button. You must actually burn a CD (example, using a CDRW). The link process is the one explained within the tutorial (how to run external files). Quickly, if you want to run (say) the file: movie1.mpeg that is burned in the root of the CDROM, you: - select a text block (e.g. click here to run) - Insert >Link - click 3rd tab - press the Add + button - you type run:movie1.mpeg That's all. For the images (e.g. the image of a button or any other image), you right click the image, use "Define link", and then all is as above. There is a full CD example (a zip file that contains everything has to be burned on CD) available at: http://www.cdfrontend.com/download/axon_cdfe_sample.zip Just burn the content of the CD within the root of a CD, test the CD, it will work. This example uses the run: links with fake files...
|
|
Logged |
|
|
|
Support Staff
YaBB Administrator
Meow!
Gender:
Posts: 1133
|
|
Re: Running an application when CD starts startup
« Reply #4 on: Jun 4th, 2008, 10:50am » |
Quote Modify
|
CDFrontEnd can run applications at startup (simultaneusly to CDFrontEnd, it shows the first/cover page and it runs these applications) To do this, you must create a CD in the temporary folder the standard way (see manual). Then open the file autorun.inf (if you double click it, it should open in the MS Windows Notepad), and under the section [autorun], add lines like this [autorun] ... ...there are already some things here... ...you add what follows... cdferun1=mickey.exe cdferunmode1=NORMAL cdferun2=nicefolder\goofy.exe cdferunmode2=MAXIMIZED cdferun3=..... the run mode can be NORMAL MAXIMIZED or MINIMIZED
|
|
Logged |
|
|
|
Rick
Guest
|
|
Re: progress bar for file slow to run
« Reply #5 on: Oct 3rd, 2008, 1:24pm » |
Quote Modify
Remove
|
Is it possible to define a page so that when it pops up it will initiate a run program link? What I want is to present the user with a progress bar that displays while an installer gets up and running. For the file I am using, there is a significant delay between the run link click and the installers first screen.
|
« Last Edit: Oct 3rd, 2008, 1:30pm by Support Staff » |
Logged |
|
|
|
Support Staff
YaBB Administrator
Meow!
Gender:
Posts: 1133
|
|
Re: Running an application and file from CD
« Reply #6 on: Oct 3rd, 2008, 1:28pm » |
Quote Modify
|
Hi! I believe you can do this if within the popup (you know how to place a link that will show a popup, I suppose - Special Links) you use the feature Insert >Page functions >Open/close windows. You could point it (in the dialog there is a button where you choose the page to open) to the third tab where you can put a run: command (instead an actual page). As you see, in the dialog you can choose the name of the window to be opened; you could give it the name of the current popup window, that way it won't open another popup window but will act on the current popup. Humm I think this way it would maybe overwrite the content of the popup... hum you could avoid this if the popup is (shows) a frameset, and within Insert >Page functions >Open/close windows you use the name of a small frame (so the main frame of the popup will still show; within that frame you could put an animated gif as a fake progress bar). Ok it's a trick but I believe it should work.
|
|
Logged |
|
|
|
run program file
Guest
|
|
Re: Running files programs on CD DVD start
« Reply #7 on: Feb 25th, 2010, 9:01am » |
Quote Modify
Remove
|
You forgot to add that CDFrontEnd can run files / applications at startup (simultaneusly to CDFrontEnd, it shows the first/cover page while it runs these applications) To do this, you must create a CD in the temporary folder the standard way (see PDF manual, or tutorials as above). Then within the temporary folder (before you burn the CD) open the file autorun.inf (if you double click it in the MS Windows File Explorer, it should open in the MS Windows Notepad, or right click it and open with Notepad), and under the section [autorun], add lines like this [autorun] ... ...there are already some things here... ...do not touch... ...simply add what follows... cdferun1=mickey.exe cdferunmode1=NORMAL cdferun2=nicefolder\goofy.exe cdferunmode2=MAXIMIZED cdferun3=wedding.pdf cdferunmode3=NORMAL cdferun4= the run mode can be NORMAL MAXIMIZED or MINIMIZED. Obviously you should not add too much things.
|
|
Logged |
|
|
|
|