Subscribe to Indezine
Follow Indezine

Follow Indezine on Pinterest
Share This Page
Bookmark and Share
Translate Page











Like This Page
Like This Site



 





PowerPoint 2003 to EXE

by: Geetesh Bajaj

Date Created:
Last Updated: May 6th 2009


Note: This is part of a set of tutorials that shows you how you can create an EXE from PowerPoint 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.

 


Product Showcase



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.

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.


Follow these step-by-step instructions:

  1. 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.

  2. 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.

  3. 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.

  4. Create a new self extraction directive file in IExpress. Choose Next.



  5. 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'.



  6. Give your intended package a name - this could be anything descriptive you choose. Click 'Next'.



  7. 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'.



  8. You can choose to display a license agreement - for this tutorial, I have opted not to display a license - click 'Next'.



  9. 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'.



  10. 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.

Continued on Page 2...


comments powered by Disqus




Plagiarism will be detected by Copyscape


  ©2000-2013, Geetesh Bajaj. All rights reserved.

    since November 02, 2000