Module builder

Module builder 

Source
Expand description

Converts resolved MSI rows into WinBrew inventory records.

This layer assumes the database module has already materialized raw MSI tables and the directory module has already collapsed the Directory graph into absolute paths. The interesting detail here is that file paths are computed once and reused, because File, Shortcut, and Component records all need to agree on the same derived locations.

Registry handling is intentionally narrow. Only Root = -1 consults the install scope; the other root values are passed through as their concrete registry hives.

Functionsยง

build_component_records ๐Ÿ”’
build_file_paths ๐Ÿ”’
build_file_records ๐Ÿ”’
build_registry_records ๐Ÿ”’
build_shortcut_records ๐Ÿ”’
registry_root_name ๐Ÿ”’
resolve_file_row_path ๐Ÿ”’