How to Convert EXE to MSI

MSI a package of files rather than a single file.
... Stockbyte/Stockbyte/Getty Images

An executable file, usually with the file extension .exe, is one that when opened will carry out an action. In many cases this will be to run an application, but the action may also be to install an application. System administrators may restrict the use of executable files on their systems to reduce the risk of malware causing harm. The administrators may instead prefer installable software to come as a Windows Installer package, in which the key file has the file extension .msi. Using Windows Installer makes it easier for administrators to keep track of which software is on which machine and, if needed, to remove software smoothly. Several independent applications allow you to "convert" an executable file by building it into a Windows Installer package.

1 MSI Wrapper

2 Download and install the free MSI Wrapper application

Download and install the free MSI Wrapper application from the EXEMSI website (link in Resources), then open the application.

3 Click Next

Click "Next" on the opening screen to start the process. On the next screen, input the location of the executable file you want to put into an MSI package and the location where you want to put the created MSI package. You can either type the location or click the icon with three dots to browse through your file directory. Click "Next" when you are done.

4 Type in an Application ID

Type in an Application ID referring to the application for which you are packaging the executable file. If you aren't sure what to put, click on "Look up." If this is the first time you'll be using an MSI package for this particular application, click on "Create New" to generate an upgrade code that you should use if you later update the application on your system using an MSI package. If you've previously created an MSI package for this application, type in the upgrade code. Click "Next" when you are done.

5 Click Next-2

Click "Next" to go through each of the next two screens, which describe your MSI package. Most of the information should be filled in automatically. If any fields are empty and you know the details that should be there, type these details in the field.

6 Leave the following screen

Leave the following screen, which details parameters for the installation and uninstallation process, empty. Click "Next" to review your settings and then "Build" to create the MSI package.

7 Advanced Installer

8 Download and install Advanced Installer

Download and install Advanced Installer (link in Resources), then open the application.

9 Select New

Select "New," then "Import" and then "MSI from EXE(s)"

10 Install and your company name

Type in the name of the application the MSI package will install and your company name, then click "Next."

11 Change the listed

Change the listed (default) name and location for your MSI package if needed, then click "Next."

12 Click on Add From Disk

Click on "Add From Disk" and select the EXE file or files that you want to convert into an MSI package, then click "OK."

13 Leave the default settings

Leave the default settings on the next screen -- which determine how the MSI package will install the application -- unless you want to change anything, then click "Next" and then "Build" to create the MSI package

14 EXE to MSI Converter

15 Download and install EXE to MSI Converter

Download and install EXE to MSI Converter (link in Resources), then open the application.

16 Click New MSI Package

Click "New MSI Package" to the left and then in the box to the right type the name and version of the product you want to install and your company name.

17 Click Install Project

Click "New Install Project" to the left and then use the "File path" box to the right to locate the executable file you want to convert into an MSI package.

18 Click Install Script

Click "Install Script" to the left and then the "Record Script" button to the right. You'll then see a window that simulates the on-screen instructions you see when installing the relevant application. Go through this simulated process, selecting any installation options you want your MSI package to automatically use.

19 Click Uninstall Script

Click "Uninstall Script" to the left and then the "Record Script" button to the right. You'll then see a window that simulates the on-screen instructions you see when uninstalling the relevant application. Go through this simulated process, selecting any uninstallation options you want your MSI package to automatically use.

20 Select MSI Package

Select MSI Package to the left of the screen and then click "Build MSI Package" to the right. Change the setting for "Deployment method" if necessary for your system, then click "Build Package."

A professional writer since 1998 with a Bachelor of Arts in journalism, John Lister ran the press department for the Plain English Campaign until 2005. He then worked as a freelance writer with credits including national newspapers, magazines and online work. He specializes in technology and communications.

×