• Home
  • Directory
  • Answers
  • Geeky Fun
  • MakeUseOf Guides
  • Tech Deals

MakeUseOf.com

RSS Twitter Facebook
Subscribe to MakeUseOf. Now, 300105 members!
Aweber

How To Make An “EXE” Installation File

by Israel Nicolas on Oct. 2nd, 2009

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

how to make exe

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.

how to make exe

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.

how to make exe 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.

make a exe a window

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.

make a exe a window

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.

make a exe a window

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.

make exe 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.

make exe 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?

(By) Sharninder is a programmer, blogger and a geek making a living writing software to change the world. Join him on his travels around the tech 'o' sphere at Geeky Ninja

ShareThis

 

Enjoyed the article? Subscribe to MakeUseOf to get daily updates on new cool websites and programs in your email for free. You'll also get free printable cheat sheets to your favorite programs

Your Email:

Want a New HP LaserJet MFP? Trade in your old printer and receive up to $1,000 in saving on a new HP LaserJet Multifunction Printer. Click here for savings!

Similar Articles

  • Windows 7 Editions Explained In Simple Terms
  • The Windows 7 Guide: From Newbies To Pros [FREE EBOOK]
  • Process Lasso Makes Windows Performance Optimization An Easy Task
  • Monitor What’s Really Going On With Your PC With System Explorer
  • How To Block Internet Explorer From Accessing The Internet
  • Automatically Turn Off Your Computer With Shutdown Timer [Windows]
  • How To Create A Dock In Windows Vista
  • How To Fix Your PC Using Windows Restore in XP, Vista & 7
More about: windows hacks . windows tips

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

If you have any questions related to stuff mentioned in the article or need help with any computer issue, just ask it on MakeUseOf Answers.

View Comments

2009-10-02 14:21:30
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!

(Comments wont nest below this level)
2009-10-02 14:36:19
Mark King

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

(Comments wont nest below this level)
2009-10-02 17:21:43
Benjamin

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

(Comments wont nest below this level)
2009-10-03 06:11:28
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.

(Comments wont nest below this level)
2009-10-03 22:58:34
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.

2009-10-03 12:01:27
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.

(Comments wont nest below this level)
2009-10-03 23:06:14
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.

2009-10-05 02:07:46
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.

(Comments wont nest below this level)
2009-10-06 13:30:34
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?

(Comments wont nest below this level)
2009-10-13 04:54:53
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.

(Comments wont nest below this level)
2009-11-10 09:59:54
gil_dano

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

(Comments wont nest below this level)
2009-11-10 13:38:14
Landon

Thank you, thank you, thank you! This is sure a hidden gem in Windows.

(Comments wont nest below this level)
2009-11-17 01:35:45
Awonusi

Thank you very much just what i am looking for.

(Comments wont nest below this level)
2010-01-11 11:51:38
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).

(Comments wont nest below this level)
2010-01-16 12:12:09
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.

(Comments wont nest below this level)

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

If you have any questions related to stuff mentioned in the article or need help with any computer issue, just ask it on MakeUseOf Answers.

blog comments powered by Disqus
Advertise Here
TopicsMUO Guides
  • Browser Tips
  • Cool Software
  • Web Apps
  • Best of Lists
  • How-To Tips
  • Windows
  • Mac
  • Linux
  • Gaming
  • Mobile Apps
  • Polls
  • Geeky Fun
  • BitTorrentThe Easy Guide
  • iPhoneUnofficial Manual
  • iTunesThe Big Book
  • LinuxGetting Started
  • MacBeginner's Guide
  • MoviesFor Movie Addicts
  • PC BuildingThe Idiot's Guide
  • ProductivityProductivity Guide
  • PhotoshopThe Idiot's Guide
  • TwitterBest Tips & Tricks
  • More Guides
Follow us on Twitter
Be Our Friend on Facebook
MakeUseOf Staff
Editors:
  • Editor in ChiefAibek Esengulov
  • MakeUseOf Directory's EditorKaly
  • Managing EditorMark O'Neill
  • Assistant EditorJackson Chung
  • MUO WP GuyJorge Sierra
  • PDF ManualsJustin Pot
  • Promotion & SEORyan Dube
  • MakeUseOf NewsletterSaikat Basu
  • MakeUseOf Answers EditorTina Sieber
Staff Authors:
  • Tina Sieber
  • ( timbrookes.co.uk )Tim Brookes
  • ( The Things I Do )Saikat Basu
  • ( simonslangen.com )Simon Slangen
  • ( Free Writing Center )Ryan Dube
  • ( Super Subconscious)Jeffry Thurana
  • ( Mac Photography Tips )Bakari Chavanu
  • ( systemBash )Dave Drager
  • ( JustinPot.com )Justin Pot
  • ( Social Branding Blog )Steven Campbell
  • ( diptychal )Nancy Messieh
  • ( SmidgenPC )Matt Smith
  • Jessica Cam Wong
  • ( My Blog Guest )Ann Smarty
  • ( Net Savoir )Angela Alcorn
© 2010 MakeUseOf. Designed by kailoon About UsContactAdvertiseSubmit AppArchivesMobilePrivacy