Szerkesztés

Megosztás a következőn keresztül:


Windows Installer

Note

This documentation is intended for software developers who want to use Windows Installer to build installer packages for applications.

If you're looking for a Redistributable for Windows Installer 4.5 and earlier, see Windows Installer Redistributables. There's no Redistributable for Windows Installer 5.0. This version is included with the operating system in Windows 7, Windows Server 2008 R2, and later client and server releases, including Windows 10.

Microsoft Windows Installer is an installation and configuration service provided with Windows. The installer service enables customers to provide better corporate deployment and provides a standard format for component management. The installer also enables the advertisement of applications and features according to the operating system. For more information, see Platform support of advertisement.

This documentation describes Windows Installer 5.0 and earlier versions. Not all the capabilities available in later Windows Installer versions are available in earlier versions. This documentation doesn't describe versions earlier than Windows Installer 2.0. Installation packages and patches that are created for Windows Installer 2.0 can still be installed by using Windows Installer 3.0 and later.

Windows Installer 3.0 and later can install multiple patches with a single transaction that integrates installation progress, rollback, and reboots. The installer can apply patches in a specified order regardless of the order that the patches are provided to the system. Patching using Windows Installer 3.0 only updates files affected by the patch and can be significantly faster than earlier installer versions. Patches installed with Windows Installer 3.0 or later can be uninstalled in any order to leave the state of the product the same as if the patch was never installed.

Accounts with administrator privileges can use the API of Windows Installer 3.0 and later to query and inventory product, feature, component, and patch information. The installer can be used to read, edit, and replace source lists for network, URL, and media sources. Administrators can enumerate across user and install contexts, and manage source lists from an external process.

Windows Installer 4.5 and later can install multiple installation packages using transaction processing. If all the packages in the transaction can't be installed successfully, or if the user cancels the installation, the Windows Installer can roll back changes and restore the computer to its original state. The installer ensures that all the packages belonging to a multiple-package transaction are installed or none of the packages are installed.

Beginning with Windows Installer 5.0, a package can be authored to secure new accounts, Windows Services, files, folders, and registry keys. The package can specify a security descriptor that denies permissions, specifies inheritance of permissions from a parent resource, or specifies the permissions of a new account. For more information, see Securing resources.

The Windows Installer 5.0 service can enumerate all components installed on the computer and obtain the key path for the component. For more information, see Enumerating components.

By Using services configuration, Windows Installer 5.0 packages can customize the services on a computer. Setup developers can use Windows Installer 5.0 and Single package authoring to develop single installation packages capable of installing an application in either the per-machine or per-user installation context.

Where to use Windows Installer

Windows Installer enables the efficient installation and configuration of your products and applications running on Windows. The installer provides new capabilities to advertise features without installing them, to install products on demand, and to add user customizations.

Windows Installer 5.0, running on Windows Server 2012 or Windows 8, supports the installation of approved apps on Windows RT. A Windows Installer package, patch, or transform that hasn't been signed by Microsoft can't be installed on Windows RT. The Template Summary property indicates the platform that is compatible with an installation database and in this case should include the value for Windows RT.

Windows Installer is intended for the development of desktop style applications.

Developer audience

This documentation is intended for software developers who want to make applications that use Windows Installer. It provides general background information about installation packages and the installer service. It contains complete descriptions of the application programming interface and elements of the installer database. This documentation also contains supplemental information for developers who want to use a table editor or a package creation tool to make or maintain an installation.

Run-time requirements

Windows Installer 5.0 is included with Windows 7, Windows Server 2008 R2, and later releases. There's no Redistributable for Windows Installer 5.0.

Versions earlier than Windows Installer 5.0 were released with Windows Server 2008, Windows Vista, Windows Server 2003, Windows XP, and Windows 2000. Windows Installer Redistributables are available for Windows Installer 4.5 and some earlier versions.

  • Windows Installer 4.5 requires Windows Server 2008, Windows Vista, Windows XP with Service Pack 2 and later, or Windows Server 2003 with Service Pack 1 and later.

  • Windows Installer 4.0 requires Windows Vista or Windows Server 2008. There's no Redistributable for installing Windows Installer 4.0 on other operating systems. An updated version of Windows Installer 4.0, which doesn't add any new features, is available in Windows Vista with Service Pack 1 and Windows Server 2008.

  • Windows Installer 3.1 requires Windows Server 2003, Windows XP, or Windows 2000 with Service Pack 3.

  • Windows Installer 3.0 requires Windows Server 2003, Windows XP, or Windows 2000 with SP3. Windows Installer 3.0 is included in Windows XP with Service Pack 2. It's available as a Redistributable for Windows 2000 Server with Service Pack 3 and Windows 2000 Server with Service Pack 4, Windows XP RTM and Windows XP with Service Pack 1, and Windows Server 2003 RTM.

  • Windows Installer 2.0 is contained in Windows Server 2003 and Windows XP.

  • Windows Installer 2.0 is available as a package for installing or upgrading to Windows Installer 2.0 on Windows 2000. This package shouldn't be used to install or upgrade Windows Installer 2.0 on Windows Server 2003 and Windows XP.

In this section

Article Description
Roadmap A guide to Windows Installer documentation.
What's new Lists additions and changes to Windows Installer.
About Windows Installer General information about the installer.
Using Windows Installer How to use Windows Installer.
Windows Installer Guide Information for authors and users.
Examples Windows Installer examples.
Reference Documentation of Windows Installer functions.