Fixed #5488 - fixed hook deprecation warning

- code from installer executable was moved to hooks
- services details in post-install message printed out on success only
why is this needed? kafo adds `root_dir + '/hooks'` by default