Create EXEs in Windows without installing extra software

IExpress icon image
You can turn your scripts and other code into executables in Windows without installing extra software. Windows XP has a built in tool called “IExpress Wizard” that does this for you. I will walk you through the process of creating an executable in Windows.

The first step is to go to Start >> Run and type the following command:
iexpress

You should get the following screen:
IExpress image

Leave the top bullet selected and click Next. On the following screen leave the top bullet (”Extract files and run an installation command”) selected and click Next. This is shown below:

IExpress image 1

On the following screen type the title you want to name your executable. If you would like to prompt the user with a confirmation dialog before installing you can do so on the following screen. For the purpose of this tutorial we will leave the prompt blank.

IExpress image 2

If you would like to display a license you can choose do so on the following screen. Again, for the purpose of this tutorial we will not display a license.

IExpress image 3

On the next screen you need to add the code you would like included in the executable. For this tutorial I used a VBScript file that I want converted into an executable. You also need to include a file that will launch your code. For a VBScript file you need to include a .bat file that will launch the file.

IExpress image 4

After you add your script (or code) and the launcher file, click Next. On the following screen you need to select your install program from the drop down. You can leave the “Post Install Command” with None.

IExpress image 5

You can leave the Default window selected in the Show window dialog and click Next. You can also enter a Finished message if you like. For the purpose of this dialog we will not have a finished dialog.


On the next screen (shown below) select where you would like the executable to be placed and leave the Options boxes unchecked.
IExpress image 6

On the next screen, choose “Only restart if needed” and click Next. On the following screen, You can save your settings if you like (you don’t have to) and click next.

Now your package is ready to be created. You can select Next to start this process (shown below):
IExpress image 7

Once your package is done click finish and you will have an executable waiting for you.

Trackbacks & Pings

Comments

  1. Fantastic!

  2. Awsum! Thanks

  3. That’s pretty cool. It’s a good little tutorial.

  4. Nice solution! thx

  5. Cool Stuff…….

  6. Cool One

  7. Hey sweet! Nice tutorial! Is there any way to make folders get extracted by this?(Organizational purposes)

  8. Works with Vista too!!!

  9. Could be the fact that at the moment I’m using Mac OS X … but there’s something like this in OS X for a loooong time (Package Maker) …In the end, Windows does copy Mac OS X …that’s new …

  10. Nice Stuff… keep up the gud work…

  11. wow! i dint know that! awesome

  12. Beautifull,,keep up the gud work..

  13. Easy and fast! Thx!

  14. It`s true, with Vista is workink too!!!
    Fine!

  15. Go to http://www.dwof.net to get DWOF - Simple Execution. A Program for making other simple EXE Programs. Easy to Use And VERY simple! Download the free trail version.

  16. Why would you create a self-extracting zip archive from a .vbs (or any other “executable” script file? whats the problem with launching by “cscript test.vbs”?

    you only add another step in the execution process which is absolutely not needed, so i guess its just about the .exe extension.

    purely cosmetic.

  17. wtf is a “gud”?
    what does “awsum” mean?

    learn to spell, then learn to program in a compiled language.

  18. IExpress is a good tool, but the worst part is i can add only files but not the folders and its subfolders. Is there any option to do that or any alternative for that ?

  19. Can we specify folder to extract the compiled files, with the command line switch like
    /c /t:c:\Program Files\My Software

  20. Is there a way to pass arguments on command line when you invoke .exe which will be passed on to the .bat file wrapped inside the .exe?

    test.exe arg1 arg2 arg3

    arg1 arg2 arg3 are to be passed on to myscript.bat inside test.exe

  21. Nice Windows tool. But there is not clear what should be entered in the field for prompting user. And any documentation for this programm is absent.
    It’s a pity :(

Post a Comment


Your email is never published nor shared. Required fields are marked *



© 2006-2007 Maxim Software Corp.  All rights reserved.