|
RADLib
RADical C++ application framework
|
RADInstaller is the manifest-driven install engine used by RADLib package and application installers. It copies selected components from a package root into an install root, verifies optional payload checksums, rolls back partial installs on failure, creates desktop entries, and writes an uninstall manifest.
Installer manifests are JSON files with product metadata, component file lists, and optional desktop entries.
Use RADInstaller::Installer::loadManifest() to parse JSON, then call install() with a source package root and target install root. Pass explicit component ids to install a custom selection, or pass an empty list to install components where defaultSelected is true. The generated uninstall manifest is written to .radinstall/uninstall.json under the target root.
The RADInstallerUiExample Slint app demonstrates the same engine from a GUI. RADLib SDK archives include a radinstall.json manifest, so the UI example can install an unpacked RADLib SDK without requiring RADLib implementation sources.