Install Framework
Install Framework
Verified against dev-next. NMS Prime packages the base application and modules as RPMs for Rocky Linux 9 / RHEL 9.
Responsibilities
Declare package metadata and operating-system dependencies
Map packaged files into their installation locations
Run controlled install/upgrade hooks
Build one base package plus enabled/module packages
Source layout
Install/config.cfg— base package contractmodules/<Module>/Install/config.cfg— module package contractInstall/files/and moduleInstall/files/— packaged configuration/service filesInstall/after_install.sh,after_upgrade.sh, and module hooksInstall/install.php— RPM build entry point
Safety
Installation hooks run with elevated privileges. Keep them idempotent, non-interactive in automation, and free of embedded credentials. Test install and upgrade profiles in disposable Rocky 9 environments.