I use packagemaker to build a .pkg file ($pkgfilename):
fill a directory containing the files that you want to install ( $pkgdir )
run packagemaker from the command line with something like:
“/Developer/Applications/Utilities/PackageMaker.app/Contents/MacOS/PackageMaker” --root “$pkgdir” --out “$pkgfilename” --title “$title” --install-to “$install_root_directory” --version “1.0.0” --idcom.$yourcompany.$productname.pkg --target 10.4 -w
just fill out the correct values for $pkgdir $pkgfilename $title etc…
$install_root_dir is the folder where the content of your $pkgdir folder will be copied. For a installing single vst, it could be set to “/Library/Audio/Plug-Ins/VST” and your the content of the $pkgdir directory would be a single “FooPlug.vst” bundle.
Or $install_root_dir could be set to “/Library/Audio/Plug-Ins” and $pkgdir would contain this folder hierarchy : VST/FooPlug.vst . That way , when you have an AudioUnit plugin, just add it in $pkgdir as Components/FooPlug.component , and your installer will install both plugins. Just be careful not to overwrite or destroy system files !