PowerPoint 2003 to EXE
by: Geetesh Bajaj on May 6th 2009
Note: This is part of a set of tutorials that shows you how you can create an EXE fromPowerPoint 2002, PowerPoint 2003, and PowerPoint 2007. If you have PowerPoint 2007, the new PowerPoint 2007 compatible Viewer, or the Office 2007 Compatibility Pack installed, then make sure you use the tutorial specific to PowerPoint 2007 only.
PowerPoint 2003 includes the new Package for CD feature, which we'll use with a
cool and undocumented Windows utility to create a standalone EXE file from PowerPoint 2003 presentations that can play on any system with Windows 98 SE or higher installed.
PowerPoint 2003's Package for CD feature is a wonderful way to create autorun CDs that contain a copy of your presentation with linked files and the Viewer engine. Often overlooked, this feature also contains the 'Copy to Folder' option that's going to be used as the first part of the techniques illustrated on this page.
The second utility we'll use is called IExpress, a file distribution packager that has been
included as part of many new Windows versions. What's more, the utility works well in older versions too - I was able tp run iexpress.exe from Windows 98 SE since the utility was already installed into my other partition that dual booted to Windows XP Professional.
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.
Follow these step-by-step instructions:
- Open, create or edit a new or existing presentation in PowerPoint 2003. 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 characters and the extension does not go beyond 3 characters. Save the presentation and choose File | Package for CD.
- In the Package for CD dialog box, give your project a name. You'll find that the active presentation has already been included as per the default options - the default also includes the new PowerPoint 2003 Viewer within the CD compilation. Choose the Copy to Folder option rather than Copy to CD. PowerPoint stores all required content including the presentation, linked files, Viewer and two text files (autorun.inf and play.bat) within a folder you choose. Exit PowerPoint.
- 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 'Next'.
- 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 by PowerPoint 2003's Package to CD option (See bullet 2). 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 'Next'.
- 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 the Viewer!
Related:PowerPoint to DVD PowerPoint to Video PowerPoint to FLV