Msi component

From wikinotes

Documentation

official docs https://docs.microsoft.com/en-us/windows/win32/msi/component-table
example https://docs.microsoft.com/en-us/windows/win32/msi/specifying-components
conditional syntax docs https://docs.microsoft.com/en-us/windows/win32/msi/conditional-statement-syntax

Overview

Table Columns
Component Notepad Unique handle for component.
ComponentId {53946A33-CDA4-4610-8DB0-E0CB5AA3CDF0} windows GUID msilib.gen_uuid(). (unique to component, version, and language)
Directory_ ProgramFilesFolder Key from Msi directory table.
Attributes 2 bitmask that generally identifies the type of component. look this up every time.
Condition (optional) conditional statement that determines if component is installed.
KeyPath (type-specific) unique within msi. Primary key in one of following tables
* Registry
* File
* ODBCDataSource