I'd like to have my own customized icon showing up for my .pkg package, instead of the generic one. I know I can do this by copying/pasting the icon onto the .pkg file. But I'm trying to automate the entire pacakging process using a script (from collecting raw material to producing a final .dmg file containing the .pkg and some other documnets).
Is there anyway to make the icon change automatic? Maybe inserting some .icns file into the resource directory, but with a special filename?
Thanks!