I'd surely post about it here, but its a mystery to me. If I knew why the postinstall didn't work with flat packages. postflight is not supported with flat packages, so you do need to use the older bundle style for those. These seem to work pretty much 100% of the time, assuming your syntax is correct of course. The solution is to use the older bundle style package format (you can switch to those in Composer's preferences) and use the "postflight" script format instead. For whatever reason, they just seem extremely flaky. However, to go back and hopefully provide a solution to your original issue, which is, "why the heck doesn't the 'postinstall' script in my pkg run?", I can tell you that, for reasons I just don't know, I've also run into a lot of problems getting postinstall scripts in flat Apple packages to run. Yeah, as mentioned, using the default workflow provided by DS will be the best way to do this.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |