PowerPoint 2002 to EXE
The PowerPoint 2003 Viewer and an undocumented Windows utility allow you to create a standalone EXE file from PowerPoint 2002 presentations that can play on any system with Windows 98 SE or higher installed.
This is a two step process.
- Copy the presentation, linked files and the PowerPoint 2003 Viewer runtime files to a folder.
- Use IExpress to create a standalone EXE
PowerPoint 2003 users can perform the first part automatically - however, PowerPoint 2002 users need to do it manually or through a third party utility like Sonia Coleman's PowerLink Plus.
PowerPoint MVP Echo Swinford has permitted me to valuable content from her site that shows you how to do it manually in PowerPoint 2002 - I wish to thank her. If you use PowerPoint often, you must visit her site - it's a repertoire of difficult-to-find-elsewhere PowerPoint content.
I need to add that this technique uses the PowerPoint 2003 Viewer and thus inherits all its abilities and limitations - for instance, it doesn't support OLE or the use of Action Settings | Run Program procedures.
Having said that, this technique outputs much more than a standalone EXE. Other benefits it offers include email,protection, ease of use for the end user, nothing permanently installed, etc.
Microsoft released a new PowerPoint Viewer in October 2003. Unlike the old Viewer, this new
Viewer supports the animations and transitions used in PowerPoint 2002 and 2003.
Some functionality the old Viewer had has been lost. Microsoft PowerPoint MVP Sonia Coleman has specific information on the new Viewer available at http://www.soniacoleman.com/../../powerpoint_2003_viewer.htm
If you have PowerPoint 2003, creating an autorun CD is very easy: just use the Package for CD option on the File menu.
You don't have to worry about downloading and installing the New Viewer -- it's included in the PowerPoint 2003 installation.
When you choose File | Package for CD, you will see a dialog box like this:
This dialog gives you the option to Copy to a Folder on your harddrive, or to Copy directly to CD. As you can see,linked files and the PowerPoint Viewer are included by default, regardless of which Copy option you choose.
Choose "Add Files" if you have other files or presentations you want to include on the CD and they're not already linked to your presentation.
If you look in the folder where you saved the package, you will see something like the following:
The SamplePresentation.ppt file is the file I elected to Package for CD. The
Beethoven's Symphony WMA file is a sound I had linked to SamplePresentation.ppt. The Package for CD process pulled that sound file into the package folder and fixed up any linking issues so the sound will play properly when I move the files in this folder to the CD.
are all the files the PowerPoint Viewer needs to run.
Since you have PowerPoint 2003, you can just burn all these files to your CD, and you're good to go.
In PowerPoint 2002 (aka PowerPoint XP)
If you're using PowerPoint 2002 (aka PowerPoint XP), creating an autorun CD becomes a bit more tricky than it is for 2003 with its Package for CD option.
The first step is to download and install the new PowerPoint Viewer from PowerPoint Viewer 2003
The next step is to open your presentation in PowerPoint 2002, and use File | Pack and Go.
I'm not a big fan of Pack and Go, but we've been seeing a lot of posts in the newsgroup lately where people are trying to use in in PowerPoint 2002 along with the new Viewer. Here's the deal--the new Viewer was released,oh, 18 months after PowerPoint 2002 was released, and it was not designed to work with Pack and Go. So Pack and Go doesn't recognize the new Viewer.
So, anyway, when you run the Pack and Go wizard in PowerPoint 2002, you have to tell it not to include the PowerPoint Viewer, because if you do, it will use the old PowerPoint Viewer (assuming you have that installed, of course).
When you get to the screen in the Pack and Go wizard where it asks about the Viewer, your option to include it may be greyed out. That's fine. If it's not greyed out, don't choose it anyway! Remember, you don't want to include the (old) Viewer here.
Don't bother downloading it from that button, either - you'll still get the old Viewer.
In the folder where you save the Packed and Gone files to, you'll have 2 files: PNGSETUP.EXE and Prez0.ppz.
Double-click PNGSETUP.EXE to unpack the Pack and Go.
Basically, what this does is resolve any linking issues you may have. That way, if you have, for instance, linked sounds, those sounds will play when you create your autorun CD.
You'll end up with your presentation file (.PPT), any linked sound or multimedia files (.WMA, in my case), and a playlist.lst file, which Pack and Go created.
You still need the new PowerPoint Viewer, though. Head to where you installed the Viewer -- probably somewhere like
C:\Program Files\Microsoft Office\PowerPoint Viewer -- and copy these 7 files:
Paste them in the same folder where you unpacked your Pack and Go. The contents of your folder will probably look something like this:
Now, if you look back up at the 2003 instructions, you'll see a playlist.txt (not playlist.LST), an autorun.inf, and a play.bat
file in addition to these files. We have to create the inf/bat files and modify the existing lst file.
First the LST file. Open your LST file in Notepad, and you'll see it says something like this:
If you were able to look at the playlist.txt file created by 2003's Package for CD, you'd see something like
The difference is the /s (and the quotation marks).
/s tells the new Viewer to begin with a splash screen. You don't want that, so remove the /s. Removing the /s also means you can remove the quotation marks at the beginning and end of your presentation name.
If your playlist will have more than one presentation in it, it should just be a list of presentations like this:
2004 Monthly Calendar.ppt
Acme Sporting Goods.ppt
Make the changes, then save the file using File-->Save As. Name it playlist.txt, because the new Viewer uses a TXT file, not a LST file like you already have. You can delete the LST file after you create the playlist.TXT file.
Create an autorun.INF file by opening Notepad and typing in the following text:
open=pptview.exe /L "playlist.txt"
The /L tells the new Viewer to read the playlist, which is contained in the file playlist.txt. Do a File-->Save As. Name the file Autorun.INF
Open Notepad and type in the following text:
@pptview.exe /L "playlist.txt"
File | Save As and name the file play.bat. Save it in the folder with all the rest of the unpacked files and Viewer files.
To tell you the truth, I don't think you absolutely have to have a BAT file on your autorun CD. If I'm not mistaken, this BAT file will actually run your CD automatically, even if autorun has been turned off on the recipient's CD drive (which may well piss them off). But Package for CD creates it, so we may as well, too.
That's it. You're finished! Using your CD burning software, burn the contents of this folder to your CD. Don't put the files inside a folder on the CD, just put everything "loose" on the CD.
If you want to test the files before you burn them to the CD, you can double-click that play.BAT file. It should open the PPT Viewer with your first presentation.
If you're still having problems, then you need to use a third-party program.
- In Windows 2000, XP or Server 2003, go to your Start menu and choose Run. In the resultant dialog box,type 'iexpress' without the quotes. This will open the IExpress Wizard, one of Windows' undocumented secrets. Since IExpress is a series of wizard driven screens, each step below includes an actual screenshot.
- Create a new self extraction directive file in IExpress. Choose Next.
- IExpress wants to know how you would like to package your files. Choose the first option that says 'Extract files and run an installation command'. Click 'Next'.
- Give your intended package a name - this could be anything descriptive you choose. Click
- In this screen, IExpress needs to know if we require a confirmation prompt when the end-user activates the finished package - since we want the finished standalone EXE to function as transparently as possible, we'll choose the 'No Prompt' option. Click 'Next'.
- You can choose to display a license agreement - for this tutorial, I have opted not to display a license - click 'Next'.
- This screen is probably the most important within the entire IExpress Wizard sequence. Click the 'Add' button and navigate to the folder created in Part I. Add all the files within that folder and click 'Next'.
- In the install program options, just type in 'pptview.exe sample.ppt' without the quotes, where sample.ppt is the name of your PowerPoint presentation. At all times, especially when you are creating new presentations or linking media to presentations, try using the old DOS 8.3 naming structure where the actual file name does not exceed 8 words and the extension does not go beyond 3 words. Click 'Next'.
Alternative: You might want to use the constant 'pptview.exe /L /S
playlist.txt'. That will open the playlist created in Package to Folder. Less likely to have typos on the user's part if they just cut and paste. Also, the /S switch tells the Viewer to open without a splash screen.
Much cleaner for a self-executing file.
- In the next screen, opt to hide the installation program's window. Click 'Next'.
- Since we want the entire process to be as transparently invisible to the end-user as possible,we'll opt to include no message. Click 'Next'.
- You need to provide a path and name for your finished standalone EXE presentation now. Place it in the same folder as the presentation (or anywhere else) and give it a small name, preferably something that uses the old DOS 8.3 file naming convention.
Within other options, check the box that hides the file extracting progress animation. Uncheck the other box that allows you to store files using long file names within the package, since I've suggested you already use the 8.3 file naming convention for all files in this tutorial. Click 'Next'.
- Choose not to restart the system since we are not installing any system files - click 'Next'.
- It's a good idea to save all the wizard settings as a self extraction directive (SED) file - choose a name and file location before you click 'Next'.
- There's nothing to change in this screen unless you want to go back and change any of the settings.
- Click the Finish button - this will activate a DOS/command window that will compress all actual files
down to almost 50% and create a standalone EXE that contains everything - the presentation(s), linked files and even
Related:PowerPoint to DVD PowerPoint to Video PowerPoint to FLV