How to create an exe package in Windows

A colleague (thanks Natan) of mine reminded me of a simple but not very well know feature that exists in Windows.

We all download software from the Internet or install applications off a CD or some other media. This is also true if you need to install/transport information into a VM that is not connected to your network.

Some people package them as Zip files, some as ISO’s and some as exe files. Did you ever wonder how these exe files are created??

Expensive Software packagers? Compression utilities? Well, most of us do not know that there is a utility built into the Windows operating system.

The utility is called IEXPRESS, and this is one of the easiest was to make a executable archive.

There is no shortcut available for the utility, but all you need to do is start the search box in Vista/Windows 7 or go to %systemroot%\system32\iexpress.exe

Windows Start menu search for iexpress showing iexpress.exe under Programs

So here we go

IExpress 2.0 Wizard welcome page with Create new Self Extraction Directive file option selected

Choose your desired option

IExpress Wizard Package purpose step with Extract files and run an installation command option selected

Name your Package

IExpress Wizard Package title step with a text field containing My package and Back, Next, Cancel buttons

Fill in your desired text

IExpress Wizard Confirmation prompt step with Prompt user with selected and a custom message text field

Add a License if you would like

IExpress Wizard License agreement step with Do not display a license selected

Choose your files that you would like in the package

Windows Open dialog selecting PNG files next to IExpress Wizard Packaged files step with empty file list

Choose some more options

IExpress Wizard Show window step with radio options Default, Hidden, Minimized, Maximized

IExpress Wizard Finished message step with Display message selected and a custom completion text field

Give the location for the package and some more options

IExpress Wizard Package Name and Options with a Save As dialog saving My package as an exe

And it does the work

Windows Explorer file list with a red arrow pointing to My package.EXE at 356 KB

And I now have a package

Custom message box titled My package asking Are you sure you really want to push that button with Yes and No

And of course in reverse - double click on the exe

My package dialog prompting for the location to place extracted files, with input field and Browse button

Message box titled My package with an info icon reading AHAH!!! Wasn’t that easy?? and an OK button

And as they say, “A picture is worth more than a thousand words!!”

Oh yeah, did I mention that this is available in all Microsoft Operating systems??