I'm using PackageMaker 3.0.4 to make an install package that includes .kext and .plugin files that need to be installed to system directories. My goal is to create a .pmdoc
I just can't believe that anybody is actually using it because I have hit so many bugs that I don't know how anybody has managed to get it working for them. I don't believe I'm doing anything particularly unusual, but almost every time I open a .pmdoc to edit (or even when building it from the commandline) PackageMaker will arbitrarily change my settings. Particularly permissions, but also paths.
It is particularly infuriating from the commandline because we're using the .pmdoc when building the installers... so we end up with a broken installer because PackageMaker has gone and messed up the various (important!) permissions - meaning .kext files cannot load and the like.
At this stage the best workaround seems to be writing a postflight script that will modify the permissions on the commandline, and just leave PackageMaker to break the permissions however it wants to. This doesn't address the other changes it makes (sometimes even causing the files to be corrupt to the point I can't even open the .pmdoc anymore.
So... has anybody actually managed to successfully integrate PackageMaker as part of their build process? Or is it really as fundamentally broken as it seems and everyone else is too wise to even touch it?