Create a self-extracting executable that contains the MSI and Setup.EXE files (to make download & installation a little more convenient for users)


I wish there was a simpler way to do this, but apparently with the limitations of the MSI format, and the way that Setup.exe must be run as a predecessor task, we'll have to have at least two files for each install.
Unfortunately this means that either (a) I provide detailed instructions for end users to help them determine which files to download, where to put them, and in what order to execute them, or (b) generate a self-extracting EXE package for each targeted install.  [Note: I suspect, based on Work Item 10012, that I'll need separate Setup projects and Setup.exe bootstrappers for Office 2003 installs vs. Office 2007 installs.]  I can't imagine NOT choosing (b) ultimately, though I might push that off for a week or so while I get the next Beta out for the early adopters to use (rather than them continue to download Beta 1 and not be able to even run the add-in).


wrote Jul 15, 2008 at 10:05 PM

Interesting leads, for the use of the SharpDevelop zip library:

wrote Aug 4, 2008 at 11:12 PM

Use the SharpDevelop DotNet Zip library's "DotNetZipUtils" package, which includes a tool to build a self-extractor!

boyan wrote Aug 7, 2008 at 2:22 AM

No need to reinvent your own self-extractor. Windows already comes with one or you can use a third part program like WinRAR to create a self-extracting archive that will execute setup.exe on extraction. Contact me if you want to know more.

wrote Aug 7, 2008 at 2:22 AM

MikeSL wrote Aug 14, 2008 at 7:02 PM

Another lead on the SharpDevelop library (sample code), though WinRAR sounds like a great solution too:

wrote Feb 13, 2013 at 10:01 PM