Windows Installer
Template:NoteTA 脚本错误:没有“Message box”这个模块。 Template:Expand language
Template:Infobox Software 脚本错误:没有“Infobox”这个模块。脚本错误:没有“Check for unknown parameters”这个模块。
Windows Installer是在Windows 2000时提出,作为微软作业系统中的安装程式开发标准的作业系统服务。它可以支援安装程式所需要的许多功能,并且可以支援交易式安装(Committable Installation),当安装程式发现错误或问题时,可以将安装程序中所做的任何修改(包含复制档案、修改组态等)全部回溯为未变更的状态。
目前Windows Installer最新版本为5.0版。
组成[编辑]
目前主要有两种Windows Installer,分别是 .msi 和 .msp。 .msi 全称为 Microsoft Installer,而 .msp的全称则为 Microsoft Package。 Windows Installer的安装程式由Windows Installer Service、Installer Database、Installation Bootstrapper与需要安装的档案所组成。
- Windows Installer Service:与作业系统一起安装,由Windows Installer安装程式的Installation Bootstrapper启动,负责载入Installer Database,以及Windows Installer安装程式执行期间的交易式安装功能,以确保安装程式对系统的修改,不是成功就是失败(不做任何变更)。
- Installer Database:由安装程式工具所制作,里面含有安装程式的指令,流程(精灵画面所需的资料),资料,组态设定等,为 Windows Installer 的安装资料来源,有时候档案也会被压缩在Installer Database中。
- Installation Bootstrapper:启动Windows Installer以执行安装程式的起始用程式,通常以setup.exe命名。
可转散布元件[编辑]
利用Windows Installer开发安装程式的软体厂商,可以在软体包装中附上Windows Installer 的可转散布套件(Redistribute Package),以确保使用者的电脑可以更新Windows Installer的模组版本,让安装程式得以顺利执行。
Windows Installer 目前是属于Platform SDK的一部份。
版本历史[编辑]
| 版本 | 用于[1] | 也可用于 |
|---|---|---|
| 1.0 | Office 2000 | - |
| 1.1 | Windows 2000 RTM, SP1, SP2 | Windows 95/98 Windows NT 4.0 SP6 |
| 1.2 | Windows Me | - |
| 2.0 | Windows XP RTM, SP1 Windows 2000 SP3 Windows Server 2003 RTM |
Windows 95/98/Me Windows NT 4.0 SP6 Windows 2000 RTM, SP1, SP2 |
| 3.0 | Windows XP SP2 | Windows 2000 SP3/SP4 Windows XP RTM/SP1 Windows Server 2003 RTM |
| 3.1 | Windows Server 2003 SP1 Windows XP Professional x64 Edition Windows XP SP3 |
Windows 2000 SP3, SP4 Windows XP RTM, SP1, SP2 Windows Server 2003 RTM |
| 4.0 | Windows Vista RTM, SP1 Windows Server 2008 RTM |
- |
| 4.5[2] | Windows Vista SP2 Windows Server 2008 SP2 |
Windows XP SP2, SP3 Windows Server 2003 SP1, SP2 Windows Vista RTM, SP1 Windows Server 2008[3] |
| 5.0 | Windows 7 RTM Windows Server 2008 R2 RTM Windows 8 RTM |
Windows Installer 5.0会与Windows Server 2008 R2及Windows 7一起发布[3]
要知道自己的电脑使用哪个版本的Windows Installer,输入msiexec /? 到Windows 运行对话框或命令提示符中。
工具[编辑]
| 工具名称 | 出版商 | 英文原文概述 | 翻译概述 | 授权 | 网站 |
|---|---|---|---|---|---|
| Install Time | Savage Fly Corp. | A full featured commercial installer and packaging tool for Windows Installe installations. Can create, validate and edit .msi packages. | 用于 Windows Installer 安装的全功能商业安装程序和打包工具。 可以创建、验证和编辑 .msi 包 | Shareware | 脚本错误:没有“URL”这个模块。 |
| Advanced Installer | Caphyon Ltd. | An installer that features one freeware edition and four commercial editions. Can create, validate and edit .msi packages. | 具有一个免费软件版本和四个商业版本的安装程序。 可以创建、验证和编辑 .msi 包 | Freemium | 脚本错误:没有“URL”这个模块。 |
| InstallAware | InstallAware Software
commercial setup |
A commercial setup creator that comes in four commercial editions | 有四个商业版本
此翻译不完整,详情请查看英文原文 |
Shareware | 脚本错误:没有“URL”这个模块。 |
| InstallShield | Flexera Software | InstallShield is a software tool for creating installers or software packages primarily used for installing software for Microsoft Windows desktop and server platforms. | InstallShield 是一种用于创建安装程序或软件包的软件工具,主要用于为 Microsoft Windows 桌面和服务器平台安装软件。 | Shareware | 脚本错误:没有“URL”这个模块。 |
| InstEdit | Google Code | InstEd is a free .msi editor. Paid version with more features available also. | InstEd 是一个免费的 .msi 编辑器。 付费版本亦提供更多的功能。 | Freeware | 脚本错误:没有“URL”这个模块。 |
| IsWiX | CodePlex | Industrial Strength Windows Installer XML (IsWiX) is a document editor based on the Fireworks Application Framework. IsWiX enables non-setup developers to collaborate with setup developers using WiX projects. | Industrial Strength Windows Installer XML (IsWiX) 是基于 Fireworks 应用程序框架的文本编辑器。 IsWiX 使非设置开发人员(non-setup developers)能够与使用 WiX 项目的设置开发人员(setup developers)协作。 | Microsoft Public License | 脚本错误:没有“URL”这个模块。 |
| Microsoft Visual Studio | Microsoft | Microsoft Visual Studio is capable of building Windows Installer Deployment projects that can create installer packages.[4] | Microsoft Visual Studio 能够构建可以创建安装程序包的 Windows 安装程序部署专案。 | Shareware | 脚本错误:没有“URL”这个模块。 |
| MSI Studio | ScriptLogic | An .msi editor aim towards system administrators who wish to repackage installation packages or optimize the installation for their own environment/needs. | .msi 编辑器面向希望重新打包安装包或针对自己的环境/需要优化安装的系统管理员。 | Shareware | 脚本错误:没有“URL”这个模块。 |
| WiX | CodePlex | WiX (Windows Installer XML) is a free and open-source set of tools that helps build a Windows Installer packages from an XML document. It can be either used from command-line or integrated into Microsoft Visual Studio. SharpDevelop, a free and open-source alternative to Visual Studio has adopted WiX.[5] | WiX(Windows Installer XML)是一组免费和开源的工具,可帮助从 XML 文档构建 Windows Installer 程序包。 它既可以从命令行使用,也可以集成到 Microsoft Visual Studio 中。 SharpDevelop 是 Visual Studio 的免费开源替代品,已采用 WiX。 | Common Public License | 脚本错误:没有“URL”这个模块。 |
| 7-Zip | SourceForge | 7-Zip is an open source file archiver utility, and can extract the contents of MSI files.[6] | 7-Zip 是一个开源文件归档实用程序,可以提取 MSI 文件的内容。 | GNU Lesser General Public License | 脚本错误:没有“URL”这个模块。 |
参考文献[编辑]
Template:Microsoft APIs Template:NavboxV2
脚本错误:没有“Authority control”这个模块。脚本错误:没有“Check for unknown parameters”这个模块。