开发者

Installation Package: How can I build single exe for installing a package?

I have created a package which contains following files to install a package.

  1. setup开发者_如何学Go.exe
  2. mySetup.msi (package installer)
  3. WindowsInstaller31.msi (Prerequisite 1)
  4. NetFramework35.exe (Prerequisite 2)

When user click on setup.exe the this package runs and first check for prerequisites if they do no found on system then it first install prerequisite and then continue setup for actual product.

My problem is that I want to create single exe file in which all the above files will be zipped and when user will click on this single exe then will extract all these files and setup will continue.

I would like to distribute single exe to my client instead of these 4 files.

Can any one help me to create a single self extract exe file for my package?


There's a wide variety of applications out there that can do this for you.

Here's a few:

  • NullSoft Scriptable Install System
  • Inno Setup
  • IzPack


The free, open-source project WIX (Windows Installer XML) - which was originally a Microsoft product, but is now open sourced via Outercurve Foundation - has a feature for this called the Bootstrapper application burn.exe. The SDK can be found at CodePlex.

Though more involved than other bootstrappers to deal with due to the XML format, it is the bootstrapper I would chose due to the reliability of the WIX framework as a whole. I do not have any sample scripts for you, but there is documentation here: http://wixtoolset.org/documentation/manual/v3/bundle/

Wix author and former Microsoft employee Rob Mensching blogs about Burn: http://robmensching.com/blog/posts/2009/7/14/lets-talk-about-burn . And here is a sample showing how to install the dotnet framework: How To: Install the .NET Framework Using Burn

Here is another thread on the same issue: Generating an executable using wix


take a look at free version of actual installer

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜