Use cpack to create osx's dmg

Additionally, ensure proper installation of sounds and zonebg resources.
This by now is needed in order to create a working OSX package, but can be a base to create linux packages (deb/rpm) or a nsis script for windows in the future.
Do you mean to test directory emptiness here or if the setting string is empty?