Impatica Knowledgebase

KB-000343: How do you create an autorun CD for Impatica for PowerPoint?

This article offers advice on how to produce an autorun CD that contains impaticized content.

Every autorun CD requires a *.inf file that contains autorun instructions. We have provided an file that contains two files: "autorun.inf" and "autorun.bat". The autorun.inf file automatically launches the autorun.bat file which in turn launches the HTML page that contains the impaticized content.

Note: Autorun CD-ROMs will only work if the user has not disabled this feature on their computer. In addition, Macintosh computers do not support autorun CD-ROMs. Given this, instructions outlining how to launch the presentation manually should also be provided.

Here are the steps:

To produce the *.inf file, paste the following bolded text into a Microsoft Notepad document:


NOTE: Ensure that you replace the "autorun.bat" section of the above example text with the name of your actual bat file.

Save the Notepad document with the name:


Then create the autorun.bat file. Create another Microsoft Notepad document and enter the following text:

@echo Loading CD
@start index.html

Change the "index.html" file reference to reflect the name of your launching HTML file. By default, this will be the name of your PowerPoint presentation with a .html extension: e.g. YourFileName.html instead of index.html as in shown in the example.

The next step is to place the following files into a folder within your CD project:

  • *-imp.jar or *.imp file (if you are using the classic Impatica file format);
  • *.imv files if any (there will only be *.imv files if your PowerPoint file contained video clips);
  • player *.jar file (ImPlayer402.jar or ImPlayer402-Video.jar)

These files cannot be placed at the root of the CD.

Once you have decided on a folder name for the folder containing the *-imp.jar, *.imv files (if any) and player *.jar file, you must then edit the Impatica-generated HTML file (YourFileName.html in our example) by inserting "CODEBASE= foldername/" within the applet tag. This codebase line will tell the Impatica applet where to find the player *.jar file(s) and the impaticized content *-imp.jar file(s) on the CD.

Here are examples of what the final applet tags will look like under two different circumstances; a PowerPoint file with video and one without video:

When your presentation contains video:

<APPLET CODE = "com.impatica.v402 .ImPlayerConsole.class" CODEBASE = "YourFolderName/" ARCHIVE = "ImPlayer402-Video.jar" WIDTH = "100%" HEIGHT = "100%">
<PARAM NAME = "ARCHIVE" VALUE = "ImPlayer402-Video.jar">
<PARAM NAME = "COLOR1" VALUE = "000000">
<PARAM NAME = "COLOR0A" VALUE = "163856">
<PARAM NAME = "FILE" VALUE = "YourFileName-imp.jar">

When your presentation does not contain video:

<APPLET CODE = "com.impatica.v402 .ImPlayerConsole.class" CODEBASE = "YourFolderName/" ARCHIVE = "ImPlayer402.jar" WIDTH = "100%" HEIGHT = "100%">
<PARAM NAME = "ARCHIVE" VALUE = "ImPlayer402.jar">
<PARAM NAME = "COLOR1" VALUE = "000000">
<PARAM NAME = "COLOR0A" VALUE = "163856">
<PARAM NAME = "FILE" VALUE = "YourFileName-imp.jar">

Once you have entered the CODEBASE into the applet tag, save the HTML file.

The final step is to place the edited HTML file, the autorun.inf file, and the autorun.bat file at the root of the CD project.

With all of the elements in place, burn your CD project and then test your CD. For additional reading and research on this topic, perform a search in Google for "autorun.inf files".

Please see KB document 457 for instruction on how to create an auto run, Java-enabled CD or DVD. This means that the end user does not need to have Java installed to view the content because it is on the CD or DVD along with the presentation(s)

Please see KB document 244 for instructions on how to create an autorun CD for OnCue content.

Would you like to...

Print this page Print this page

Email this page Email this page

Post a comment Post a comment

Subscribe me

Add to favoritesAdd to favorites

User Opinions (3 votes)

33% thumbs up 66% thumbs down

How would you rate this answer?

Not helpful
Thank you for rating this answer.