Deployment Tools Foundation
Path Property
Gets the full path to an installed component. If the key path for the component is a
registry key then the registry key is returned.
Declaration Syntax
Return ValueThe file or registry keypath to the component, or null if the component is not available.
RemarksIf the component is a registry key, the registry roots are represented numerically. For example, a registry path of "HKEY_CURRENT_USER\SOFTWARE\Microsoft" would be returned as "01:\SOFTWARE\Microsoft". The registry roots returned are defined as follows: HKEY_CLASSES_ROOT=00, HKEY_CURRENT_USER=01, HKEY_LOCAL_MACHINE=02, HKEY_USERS=03, HKEY_PERFORMANCE_DATA=04
Win32 MSI APIs: MsiGetComponentPath, MsiLocateComponent
Exceptions| Exception | Condition |
|---|---|
| ArgumentException | An unknown product or component was specified |
| InstallerException | The installer configuration data is corrupt |