Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Windows Installer
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
==Logical structure of packages== A package describes the installation of one or more full ''products'' and is universally identified by a [[GUID]]. A product is made up of ''components'', grouped into ''features''. Windows Installer does not handle dependencies between products. ===Products=== A single, installed, working program (or set of programs) is a ''product''. A product is identified by a unique GUID (the ProductCode property) providing an authoritative identity throughout the world. The GUID, in combination with the version number (ProductVersion property), allows for release management of the product's files and registry keys. A ''package'' includes the package logic and other [[metadata]] that relates to how the package executes when running. For example, changing an [[EXE file]] in the product may require the ProductCode or ProductVersion to be changed for the release management. However, merely changing or adding a launch condition (with the product remaining exactly the same as the previous version) would still require the PackageCode to change for release management of the MSI file itself. ===Features=== A ''feature'' is a hierarchical group of components. A feature may contain any number of components and other sub-features. Smaller packages can consist of a single feature. More complex installers may display a "custom setup" dialog box, from which the user can select which features to install or remove. The package author defines the product features. A [[word processor]], for example, might place the program's core file into one feature, and the program's help files, optional spelling checker and stationery modules into additional features. ===Components=== A ''component'' is the basic unit of a product. Each component is treated by Windows Installer as a unit. The installer cannot install just part of a component.<ref>{{cite web|url=http://msdn.microsoft.com/en-us/library/aa372830.aspx | title = Windows Installer Components | publisher = [[Microsoft Corporation]]|work= MSDN Library|access-date=2013-04-08|date=2012-11-30}}</ref> Components can contain program [[Computer file|files]], [[directory (file systems)|folders]], [[Component Object Model|COM]] components, [[Windows registry|registry]] keys, and [[shortcut file|shortcuts]]. The user does not directly interact with components. Components are identified globally by GUIDs; thus the same component can be shared among several features of the same package or multiple packages, ideally through the use of [[Merge Module]]s. ===Key paths=== A ''key path'' is a specific file, registry key, or [[Open Database Connectivity|ODBC]] data source that the package author specifies as critical for a given component. Because a file is the most common type of key path, the term ''key file'' is commonly used. A component can contain at most one key path; if a component has no explicit key path, the component's destination folder is taken to be the key path. When an MSI-based program is launched, Windows Installer checks the existence of key paths. If there is a mismatch between the current system state and the value specified in the MSI package (e.g., a key file is missing), the related feature is re-installed. This process is known as ''self-healing'' or ''self-repair''. No two components should use the same key path.
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)