COMMANDBOX-81 Finalized installation logic and reworked uninstall.