I'm looking at deploying some software via GPSI and the current version of the software is distributed as a .exe so I need to convert it to an MSI file.

furthermore, why does MS still distribute some of its software (WMI Tools) as .exe

link|improve this question

feedback

7 Answers

up vote 6 down vote accepted

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.

link|improve this answer
great summary. Off topic, but important anyways, I can understand a vendor... Microsoft being excluded. It's their format, they should be using it :) I wouldn't expect a ford car salesman to be driving a Saab its bad for business. – GNUix Jun 9 '09 at 2:41
I can't speak for Microsoft, but wrapping the MSI in an EXE is one possibility anyway, sometimes this is done for security reasons so that you can't open the MSI, because MSI's are readable databases that can be opened by anyone with tools like Orca. – Wayne Koorts Jun 9 '09 at 2:44
ORCA? Are you nuts? This tool is a great way to waste alot of time doing something as simple as repackaging. – duffbeer703 Jun 9 '09 at 2:59
4  
@duffbeer703: slamming the ORCA tool without at least mentioning a viable alternative isn't really adding value to the discussion. – Graeme Donaldson Jun 9 '09 at 5:03
2  
@mh: My recommendation in the answer was to use it to EDIT the MSI which had previously been created by AppDeploy Repackager, not to create it from scratch. – Wayne Koorts Jun 9 '09 at 8:35
show 3 more comments
feedback

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

link|improve this answer
feedback

Check out WinINSTALL LE:

http://www.softpile.com/Utilities/Miscellaneous/Review_16745_index.html

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.

link|improve this answer
I'll check it out. Thanks – GNUix Jun 9 '09 at 2:35
Used this, it's a pretty fantastic tool. If it can successfully package Oracle client software, it has to have something going for it. – mh. Jun 9 '09 at 7:27
feedback

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 :)

link|improve this answer
feedback

It's not free but if you have any Visual Studio licenses, that has a great MSI packager available in it.

link|improve this answer
feedback

IMO WiX may be the best way, since repackager working with snapshots tend to record unrelated changes, as far as you don't spend some time setting exclusions...

Using the Wixtool makes the creation of an MSI quite convenient instead of writing lots of xml containers ;)

link|improve this answer
feedback

Microsoft's Windows Installer XML toolkit (WiX).

link|improve this answer
I'll check it out. Thanks. – GNUix Jun 9 '09 at 2:21
From the 10 second overview, it looks like a great package for deploying applications I develop, but doesn't look like I can simply wrap a .exe installer into an MSI file -- but I will dig deeper – GNUix Jun 9 '09 at 2:24
Ah sorry, I didn't realise on first reading that you were after a repackager. Damn my Answer trigger-finger! ;) – moobaa Jun 9 '09 at 3:22
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.