Windows Installer features

Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1, Windows Server 2003 with SP2

Windows Installer features

With Windows Installer and the .msi package file format, software installation and removal are more reliable and resilient. Windows Installer also provides a larger set of installation options. Windows Installer performs the following tasks:

  • Restores original computer state upon installation failure--Windows Installer keeps track of all changes made to the system during the application installation process. If the installation fails, Windows Installer can restore, or roll back, the system to its initial state.

  • Helps prevent interapplication conflicts--Windows Installer enforces installation rules that help to prevent conflicts with shared resources between existing applications. Such conflicts can be caused when an install operation makes updates to a dynamic link library (.dll) shared by an existing application or when an operation deletes a .dll shared by another application.

  • Reliably removes existing programs--Windows Installer can reliably uninstall any program it previously installed. It removes all of the associated registry entries and application files, except for those shared by other installed software. You can uninstall an application at any time after a successful installation. (Removal should not be confused with rollback, which restores a computer to its initial state when an installation failure has occurred.)

  • Diagnoses and repairs corrupted applications--An application can query Windows Installer to determine whether an installed application has missing or corrupted files. If any are detected, Windows Installer repairs the application by recopying only those files found to be missing or corrupted.

  • Supports on-demand installation of application features--Windows Installer can be configured to initially install a minimal subset of an application. Later, additional components can be automatically installed the first time the user accesses features that require those components. This is known as advertising. For example, Windows Installer could install Microsoft Word with a minimal set of features. The first time the user tried to access a mail merge function (not included with the original installation), Windows Installer would automatically install the mail merge component. Similarly, Windows Installer can also purge components that go unused in an application. For example, Windows Installer could be configured to remove the mail merge component if it goes unused for 60 days.

  • Supports unattended application installation--Installation packages can be configured to require no installation process interaction from the user. During the installation process, Windows Installer can query the computer for desktop attributes, including determining whether any applications were previously installed by Windows Installer.

  • Supports 32-bit and 64-bit applications--32-bit applications can be installed on 64-bit machines.

  • Supports Microsoft .NET Framework--The Microsoft .NET Framework is a new platform for building integrated, service-oriented applications that gather information from and interact with a wide variety of sources, regardless of the platforms or languages in use. The .NET Framework and the common language runtime can deliver write-once, compile-once, run-anywhere application development. Specifically, the .NET Framework delivers code reuse, code specialization, resource management, multilanguage development, security, deployment, and administration.

  • Integrated with side-by-side components--This feature eliminates .dll version conflicts by permitting an application to be bound to the version of the component it was designed and tested with, regardless of the computer that hosts the application. Side-by-side components support the simultaneous execution of multiple versions of each component.

  • Integrated with software restriction policies--This feature provides virus protection support, including protection from Trojan horse viruses and worms propagated through e-mail and the Web. Software restriction policies make the simple, point-and-click, active context user experience safe. Group Policy implements them as part of the list of trusted applications, and Windows Installer operates with applications permitted by these software restriction policies.