There's got to be a way to do this:
I have a 7MB shell script that deploys a McAfee agent on our Macs. I want to deploy via Simian, now that I have my server running correctly.
The shell script needs an argument to install (./install.sh -i).
I've been working on creating a .pkg file using pkgbuild that copies the install.sh into /Library/Scripts/McAfee/, then uses a preinstall script to check for existing installation, then a postinstall script to execute the ./install.sh -i.
Seeing how Simian uses DMG and pkginfo plists, my .pkg doesn't look like it will work.
Has anyone here done anything similar, or know how I could create a DMG and plist that would work with what I've already done?