How To Make An “EXE” Installation File

iexpress001   How To Make An EXE Installation FileWe all download software from the Internet or install applications off a CD or some other media. While some companies decide to just distribute their applications packaged in zip files, most of them use some form of an installation program, which is usually an EXE ““ Executable file – that runs you through a series of steps to install the said software on your machine.

Have you ever wondered how those EXE files are created ?

Well, there are a lot of software that can help you create install packages to distribute your software, and today we’ll walk you through using one that has been been there on your Windows system all along. This unassuming utility is called iExpress and is (probably) the easiest utility you’ll ever find to make an EXE file for your software.

So, if you’ve ever wondered how those installation programs are created, how the “magic” happens during the installation wizard and how a simple single executable spits out hundreds of real useable program files, we’ll answer that question for you today.


Since Microsoft doesn’t create an icon for iExpress in the Programs menu, we’ll have to run it manually. If you’re using Windows XP, go to the Start menu and click the Run button. In the dialogue box that pops up, type iexpress.exe and press Enter. If, like me, you use Windows Vista, just click the Start menu and start typing iexpress and you’ll see the icon popup in the search results.

iexpress002   How To Make An EXE Installation File

iExpress runs as a simple wizard and will ask you a couple of questions and based on your choices will generate the installer for you. The first question that you have to answer is if you want to create a new Installer or open an existing one. Since, this is (presumably) your first time using iexpress, we’ll select the first option and click Next.

iexpress003   How To Make An EXE Installation File

The next screen will ask you the type of package you want it to create.

iExpress can create a package that runs a command after it unpacks all files to a temporary location, or only extract the files to a location that the user specifies. The first option is useful if you want to, for example, run a script to make changes to the registry before the user runs your program for the first time.

There is a third option to create compressed files only but that is only applicable if you’re distributing Active-X controls. iExpress displays a handy description below each option so you can read that if you’re still not sure which about which option to select.

iexpress004   How To Make An EXE Installation File

The next step is to give a name to the package that you’ll create. Enter the name in the text box and move to the next screen.

iexpress005   How To Make An EXE Installation File

This step will let you display a confirmation message to the user installing the application. If you want to display a message to your user asking for confirmation if he/she wants to go ahead with the installation, then type in a message in the text box provided and when you’re done click Next.

iexpress006   How To Make An EXE Installation File

Now, you will be able to select a license agreement which the installer will ask the user to adhere to. If you have a license agreement for your application, then type it in a text file and provide that here or else select the “Do not display a license“ option and move on.

iexpress007   How To Make An EXE Installation File

This is where you actually select the files that will be installed by the installer that you’re creating. You can select as many files as you want here. Add files to the list by clicking on the Add button.

iexpress008   How To Make An EXE Installation File

Now, you can safely move forward a few steps and keep clicking on the next button till you come across the Package name and options screen. This is where you select a name for the actual EXE file that gets generated and decide whether you want to hide the extraction process from your users or let them see all the gory details. You can also generate a log files for the installation process.

iexpress009   How To Make An EXE Installation File

In the next step you can choose to create what iExpress calls a Self Extraction Directive file. This is needed if you want to later change some of the options that you chose and create another modified installer. Since, we don’t want that right now, we’ll choose not to create an SED file.

That’s it.  iExpress will now go ahead and create an EXE file for you. Wasn’t that easy?

What other tools do you prefer to make exe files?

The comments were closed because the article is more than 180 days old.

If you have any questions related to what's mentioned in the article or need help with any computer issue, ask it on MakeUseOf Answers—We and our community will be more than happy to help.

14 Comments -

0 votes

Albert

Thanks for this information! I had no idea this utility existed. I checked an old Windows 2000 system and it has it too. What I had been doing is creating a .zip file then converting it to .exe More articles like this please!

0 votes

Mark King

Thanks for this.I didnt know we can actually create exe file

0 votes

Benjamin

I always wondered, never had it explained in a simple programming class I took. Thanks for the information

0 votes

Protip

Archive managers such as 7-zip and WinRAR have SFX (Self extracting) options which allow the same thing to be done with a wide range of compression techniques. They make exes which can extract the files to a location the user desires.

0 votes

Sharninder

Yes, most archive managers have this facility, but those still need to be installed on the users’ system. I covered iexpress because it is already present on every windows users machine and doesn’t require the user to download anything.

0 votes

Doc

This could be nice, but what’s wrong with NSIS (NullSoft Install System)? Dozens of programs use it (including Nullsoft’s own WinAmp), it puts in uninstall information into the Registry, can install to any directory you like, is open-source (hosted on SourceForge), and even has a forum on Winamp.com for help.

0 votes

Sharninder

You can definitely use NSIS if it works for you but with this article I wanted to highlight a tool that is already present on your system and that is why I chose iexpress.

0 votes

VA

Yes, most archive managers have this facility, but those still need to be installed on the users’ system. I covered iexpress because it is already present on every windows users machine and doesn’t require the user to download anything.

0 votes

Tony Cutty

The only thing this lacks is a way of letting the user ‘Make New Folder’ when selecting where to put the extracted files. Any ideas, anyone?

0 votes

Amar Jain

Well, certainly this utility is useful. But the only thing which I couldn’t find is to add directory with subdirectories inside it while generating exe files. Because what I know is that it generates exe files only of a directory and it does not take subdirectories inside a directory. If you know any trick for this, then shall be grateful to you know if you will let me know. This website offers wonderful tricks, thanks for that.
Regards,

Amar Jain.

0 votes

gil_dano

Just what I was looking for and perfectly explained. Thank you.

0 votes

Awonusi

Thank you very much just what i am looking for.

0 votes

CharleyW

iexpress.exe has (at least) two problems – it won’t allow an empty folder, and it won’t allow two files with the same name (even if they are in different folders).

0 votes

Angy

I guess, Im a bit confused, I was trying to make a exe. file that I could use on my server side for a client to download an ebook am I looking in the wrong area? Any help greatly appreciated. I thought I would need an exe.file to do this.