What is the best (free) tool to wrap an .exe into a MSI?
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:
- 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.
- 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.
I've used Advanced Installer and AppDeploy Repackager and have gotten good results.
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.
Heh, I'll try and answer my own question.. I'm also going to look at The AppDeploy Repackager. It looks like it will do pretty much the same thing as Joseph mentioned. I'll see which one does the job with less stress on my part :)