At beginning I tried same logic for Mac OS X as well. But these install scripts are not triggered in Mac flat package which is what we used now. It need bundle package to honor these scripts.