Microsoft KB Archive/316255

= HOW TO: Distribute Windows Media Codecs on a CD by Using Microsoft Producer =

PSS ID Number: 316255

Article Last Modified on 6/11/2003

-

The information in this article applies to:


 * Microsoft Producer for PowerPoint 2002

-



This article was previously published under Q316255



IN THIS TASK

 * SUMMARY
 * Step 1: Download the Windows Media Redistribution Package
 * Step 2: Create a Batch File
 * Step 3: Edit the Autorun.inf File
 * Step 4: Organize Your Files to Burn to a CD
 * Additional Information
 * Troubleshoot
 * REFERENCES



SUMMARY
This step-by-step article describes how to use a customized Autorun.inf file to distribute the Microsoft Windows Media codecs on a compact disc (CD). The Autorun.inf file silently installs the codecs before the presentation is played.

By default, when you distribute a Microsoft Producer presentation on a CD, the Windows Media codecs are not available on the CD. If a user plays a presentation from a CD and does not already have the Windows Media codecs installed, that user cannot play the videos in the presentation unless he or she is connected to the Internet.

Important If you are using Microsoft Producer on Microsoft Windows XP, do not publish your presentation directly to the CD burner drive. If you do so, you cannot make changes to the CD to distribute the Windows Media codecs as described in this article. Instead, publish your files to a folder on your hard disk, and then move those files together with the Windows media codec to the CD burner.back to the top

Step 1: Download the Windows Media Redistribution Package
To download the Windows Media Redistribution Package (the Wmpcdcs8.exe file), see the following Microsoft Web site: Download the Wmpcdcs8.exe package now.back to the top

Step 2: Create a Batch File
 Start Notepad. To do this, click Start, point to Programs (in Windows XP, point to All Programs), point to Accessories, and then click Notepad. Type the following text in the new Notepad file:

@echo off wmpcdcs8.exe /q:a /r:n scan.hta GOTO END :END

 On the File menu, click Save. Save the file as &quot;Scan.bat&quot; (without quotation marks). On the File menu, click Close to quit Notepad.

back to the top

Step 3: Edit the Autorun.inf File
 Open the Autorun.inf file that Microsoft Producer created in Notepad. The Autorun.inf file is in the folder where you published your Microsoft Producer presentation.  On the line that contains shellexecute=Scan.hta, replace the hta extension with bat, so that your modified Autorun.inf file looks similar to the following format: <pre class="fixed_text">  [autorun] shellexecute=scan.bat icon=page.ico </li> Save the Autorun.inf file, and then quit Notepad.</li></ol>

back to the top

Step 4: Organize Your Files for to Burn to a CD
When you burn your presentation to a CD, put the following files and folder at the root directory of the CD:


 * Autorun.inf
 * Scan.bat
 * Scan.hta
 * Page.ico
 * .htm
 * _files
 * Wmpcdcs8.exe

back to the top

Additional Information
When you create a Microsoft Producer presentation that contains a Microsoft PowerPoint slide show with animations, Microsoft Producer displays the animations by using the Microsoft Office Animation Runtime Add-in. If you play the presentation from a CD and do not have Microsoft PowerPoint 2002 installed or you do not have an Internet connection, the Microsoft PowerPoint slides do not display animations. Instead, Microsoft Producer displays static pictures of the slides, because it cannot automatically download the Office Animation Runtime Add-in from the Internet.

You can also distribute the Office Animation Runtime Add-in on the CD; however, there are no silent installation switches that allow you to install the add-in from the Autorun.inf file.

To download the Office Animation Runtime Add-in, visit the following Microsoft Web site:

http://office.microsoft.com/downloads/2002/msorun.aspx

Additional query words: inf prod CD codecs animation

Keywords: kbfile kbHOWTOmaster kbofficeupdate KB316255

Technology: kbProducer kbWinMediaSearch

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© 2004 Microsoft Corporation. All rights reserved.