What is the best (free) tool to wrap an .exe into a MSI?

Solution 1:

The type of tool you're looking for is called an Application Repackaging tool. The process would include capturing an installation (take a machine snapshot, run your installation and make customisations, then run a second snapshot to calculate the differences) then compiling the captured data into MSI format.

The following are some free tools to perform these tasks, in order:

  1. AppDeploy Repackager: Use this to capture your installation and create an MSI from the captured data. If your app is reasonably simple then this may be all you need.
  2. Microsoft Orca: Use this to edit the MSI that has been created with AppDeploy Repackager. You will need to know how MSI's work to really make the most of Orca. Microsoft's Installer Database Reference is the definitive source for information on MSI contents.

As for your second question: You will find that sometimes vendors will supply an MSI wrapped in an executable, so if you run the .exe you might be able to dig out the MSI from a temp directory.

Solution 2:

I've used Advanced Installer and AppDeploy Repackager and have gotten good results.


Solution 3:

Check out WinINSTALL LE:

https://www.softpile.com/wininstall-le/

You have to install the program, and it will watch what happens and create an MSI installer. I usually make my installs on a clean VM so that it doesn't catch background activities of programs I usually use.