打包软件的调研

几年前的调研了,发出来做个记录吧:)


Time:2013.09.23

Author:Yeshen

上一次的调研主要集中在几个软件:InnoNsisWix,这次发现多几个:War Setup(貌似没更新了)、NInstall(02年停止更新)、tpkg(找到软件,没找到使用方法==!)、WinAMP+bat(简单暴力)。这次的分析主要针对NsisWix。简单的说,Nsis功能比较强大、适用范围较广;Wix是微软出的,和我们做的项目有一定的契合度。

Ø 先重复一下对软件打包工具的要求:

l 免费

l 检测依赖,添加.net framwork4

l 安装卸载进程检测、写入GUID进注册表

l 打包过程中能运行自定义脚本

l 自定义安装界面

l 软件打包工具使用语言可维护性高,可长期使用

Ø 简单介绍

l War Setup

Posted by Jarle Aase 2009-01-30 

War Setup is an application to make .msi software installation packages. It uses the free Wix toolset from Microsoft to build the .msi files. The target audience for this application is Software Developers.

War Setup is designed to be very easy to use. It's the perfect install tool for the lazy Open Source developer. With bullt in support for Visual Studio C++ integration and the ability to add directories recursively, it's very easy to add software libraries and generated documentation to the install package.

l Nsis

Release notes:v3.0a1

Sourcehttp://sourceforge.net/p/nsis/code/6413/

Posted by Amir Szekely 2013-07-14

Note1NSIS (Nullsoft Scriptable Install System) is a professional open-source tool for the development of Windows installers. It is designed to be as small and flexible as possible and is therefore highly suitable for internet distribution.

NSIS 3.0a0 is released. This is the first alpha version of the next major NSIS release. Lots of bug fixes and new features were included. The biggest feature is Unicode support based on Jim Park's fork. Wizou and Anders did great work at merging it back in. We plan to also introduce native x64 installers for the final release of 3.0, based on David Golub's work.

Note2NSISNullsoft Scriptable Install System)是一个开源的 Windows 系统下安装程序制作程序。它提供了安装、卸载、系统设置、文件解压缩等功能。这如其名字所指出的那样,NSIS 是通过它的脚本语言来描述安装程序的行为和逻辑的。NSIS 的脚本语言和通常的编程语言有类似的结构和语法,但它是为安装程序这类应用所设计的。

其特点如下:开销小,一个完整功能的安装程序仅需要 34k 的额外开销、支持大多数 Windows 平台、支持三大压缩算法:ZLibBZip2, LZMA、支持脚本、支持多语言、支持安装界面定制、提供可扩展的插件接口、支持网络安装、补丁、支持无人值守的安装模式、此外,NSISlicense允许任何用途免费使用。

l WiX

WiX v3.7 released.

Sourcehttp://wix.codeplex.com/SourceControl/latest

# by Rob Mensching on Monday, December 24, 2012 4:00 PM

    The core of WiX is a set of build tools that build Windows Installer packages using the same build concepts as the rest of your product: source code is compiled and then linked to create executables; in this case .exe setup bundles, .msi installation packages, .msm merge modules, and .msp patches. The WiX command-line build tools work with any automated build system. Also, MSBuild is supported from the command line, Visual Studio, and Team Build.

    WiX includes several extensions that offer functionality beyond that of Windows Installer. For example, WiX can install IIS web sites, create SQL Server databases, and register exceptions in the Windows Firewall, among others.

    With Burn, the WiX bootstrapper, you can create setup bundles that install prerequisites like the .NET Framework and other runtimes along with your own product. Burn lets you download packages or combine them into a single downloadable .exe.

The WiX SDK includes managed and native libraries that make it easier to write code that works with Windows Installer, including custom actions in both C# and C++.

Ø 可扩展性

这两个软件目前我只做过简单的入门级别操作,有去问一些专门做打包软件的人,他们比较推荐NsisInno,推荐原因就是可自定义部分功能完全一点,扩展性高一点。

其实Inno最好入门,Nsis难一点,WiX再难一点,主要是WiX资料不多,读英文资料效率会低很多。

Ø 使用语言

Nsis使用为脚本语言,和通常的编程语言有类似的结构和语法,但它是为安装程序这类应用所设计的。Wix使用xml结构的语言,结构像xml语言,其实也是自定义的。==

Ø 部分统计数据(fromsourceforge.net)

Nsis较为主流,从“专业人士”的介绍中是这样的,从一个软件下载平台的软件下载量来看,也是。

l Nsis2010-12-01 to 2013-08-31)






评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值