EZ Presentation Overview
What is the problem we solve with EZ Presentation?
If you need to create an AutoRun presentation for a CD (i.e. the presentation that pops up when you insert a CD you have produced), or if you need to create a demo, there are several approaches you might take. Some are described in the following table.
Solution | Pros | Cons | Where is it applicable? |
Write your own application |
Extremely Flexible | Requires significant development effort, including potentially dealing with all the issues of displaying a multimedia presentation on a wide range of computer configurations. Requires significant software engineering resources. Fairly difficult to change/update. | Impractical for a smaller company, but can work if significant developer resources are available or if you are willing to settle for an exremely simple solution. |
Use a package like MacroMedia or a similar package |
Relatively flexible across platforms | Requires learning a complex new presentation tool or hiring a developer. Potentially high licensing fees. May require significant computer resources overhead. | Appropriate for mid-sized companies or companies with internal experience in one of these presentation tools. |
Use |
Works on any Windows configuration. Uses HTML as basis for building presentations, so there is very little to learn. Development time can be a small fraction of other solutions. | Not as flexible as developing your own application from scratch. | Appropriate for any company that wishes to produce a CD introduction or demo in a very short time. |
EZ Presentation is an enhanced web browser. It will display any standard web page, but it adds some special functionality. Whenever you create a link, in addition to the standard link types (e.g. http:, file:, ftp:), you have the option of using the link type 'ezp:' to perform an EZ Presentation command. Therefore, you can use any standard web page creation tool (e.g. Microsoft FrontPage, Macromedia DreamWeaver, Adobe GoLive, etc.) to create your presentation. In places where you need special EZ Presentation functionality, you make links to ezp:xxx, where 'xxx' is an EZ Presentation command. But otherwise, you just create standard HTML!
The EZ Presentation browser is a program called Browse.exe
What can you do with EZ Presentation?
*** Launching executables:
Let's say you want a simple Autorun CD that presents users with an opening page that let's them launch an installation program, or visit your online Help.
You wouldn't want to use a regular web browser with an HTML file, becase a regular browser (e.g. Internet Explorer or Netscape) would ask a security question if your user clicks on the link to the installation executable (e.g. install.exe). That's appropriate behavior for a browser (to provide security for users). But it's not appropriate when someone already has your installation CD.
The EZ Presentation browser lets you run executables without the popup security window.
For example, to launch an install program in standard HTML, you might use this:
<a href="install.exe">Click here to install</a>
In EZ Presentation, you could use that (and it would behave exactly like it would in a standard browser) or use:
<a href="ezp:open('install.exe')">Click here to install</a>
*** Do multiple things in response to a clicked link:
Normally when you click on a link, a browser lets you define the URL that should be opened, and that's all. With EZ Presentation, you can perform a sequence of tasks. For example:
<a href="ezp: seq( msg('Click OK to begin installation'), open('Install.exe')) )">Install the Application</a>
*** Create links that perform a test:
In standard HTML, a link can't be smart and decide which URL to go to. With EZ Presentation, links can be "smart". For example, say you want to install a different version based on the version of Windows your user has. You could use:
<a href="ezp: if(winver()>=500,open('InstallNT.exe'),open('Install9x.exe'))"> Click here to install</a>
*** Interact with the user with Window's style popups:
Say you want a popup message to appear before installation begins, for example, to ask the user a question. You could use something like:
<a href="ezp: if(msg('Intall in English or Spanish','English','Spanish')=0, open('InstallSpanish.exe'), open('InstallEnglish.exe')) )">Click here to install</a>
This would ask the user if they want to install in English or Spanish, and then execute the correct install application.
*** Play multimedia without asking the user questions:
Using the playsound or playvideo commands, you can launch sound and video without popping up new windows or asking the user questions about how they want playback to occur. For example, if you click on a link that you want to take you to a different screen and start some music, you might use:
<a href="ezp: seq( browse('Tutorial.htm'), playsound('Tutorial.mp3'), playvideo('Tutorial.avi')) )">Click here to install</a>
*** Maintain contextual information:
Say you want to know if a user already clicked on a link, or you want to track a user's previous answer to a question. The setvar & getvar functions let you do that. For example, when a page opens, you can perform an EZ Presentation command. You might perform the following request for a language preference:
ezp:setvar(1,msg('Please choose a language','English','Espanol'))
Then, anywhere else in your presentation, you could have links like:
<a href="ezp: if(getvar(1)=0, open('InstallEnglish.exe'), open('InstallSpanish.exe')) )">Install Software</a>
*** Do something when you open a new webpage:
A normal HTML link just lets you jump to a new page. With EZ Presentation, you can perform a sequence of tasks to enhance navigation:
<a href="ezp: seq( setvar(1,3), -- this could be used to track what page referred you to Doc.htm browse('Doc.htm',1) -- this command opens Doc.htm, but does so in a new browser window )">View documentation</a>
*** Easily exit the browser:
You can easily exit the browser when a link is clicked. For example, if you want to launch the installation program and close the browser, you might use:
<a href="ezp: seq( open('Install.exe'), exit() )">Click here to install</a>
*** Does not look like a web browser:
EZ Presentation does not look like a standard web browser, so your presentation doesn't have the extra toolbars, buttons, and menu items that wouldn't be appropriate for a demo/Autorun application. It also doesn't enable standard web hotkeys. However, you could always pop up a standard browser if you wanted to for some reason, for example:
<a href="ezp: open('readme.htm') -- note that by using open, the file is opened in its default viewer (a standard web browser) )">View the README file</a>
*** Yet the EZ Presentation browser still performs all the basic functions of a web browser:
Any standard web page that would work in a user's Internet Explorer window will work in EZ Presentation. Functions like displaying images, animated GIFs, running java scripts, playing sounds in the background, normal links, etc. all work just as they would if the user was using a standard web browser.
What's the process for making an EZ Presentation?
As with any presentation, begin by deciding the flow and design of your EZ Presentation. For example: what do you want the opening screen to look like; what functions should the be presented to the user; etc.
Create the presentation using your favorite HTML editor. When you want to use an EZ Presentation function, just make a hyperlink in your editor with a link to an ezp: command. For example, instead of linking to Install.exe you would link to ezp:open('Install.exe'). View the list of EZ Presentation commands.
Place the files in the folder hierarchy you desire along with a copy of Browse.exe (which is the EZ Presentation browser application). Most commonly, the Browse.exe would go in the root folder of the CD for an Autorun CD.
To make a CD
Autorun presentation, create an "Autorun.inf"
file in the root folder of the CD image (using a tool
like Notepad). A basic Autorun.inf file need contain
nothing more than:
[autorun]
open=Browse.exe
By default, Browse.exe will open the file Start.htm (see Default File
Selection for more information).
You could also use an open command that uses an EZ
Presentation command. For example:
open=Browse.exe
ezp:seq(browse('main.htm'),playsound('intro.mp3'))
(For more information on
Microsoft Windows Autorun.inf commands, click here).
Burn the CD and you're done!