I've created an pkg installer package with productbuild in the way:
$ productbuild --component "/Applications/Earlybird.app" /Applications --sign "Developer ID Installer: Name" --product "/Applications/Earlybird.app/Contents/Info.plist" Thunderbird_14.0_enUS.pkg
This has worked just nice. But if I try to install the application it asks for the admin password. But it does not need it for a simple application. This will confuse the user. So I've tried to solve this by opening the pkg with Flat Package Editor and change the auth="root" in the PackageInfo file to auth="none". But it still asks for the admin password. Why is this and how can I solve it? I'm on OS X 10.8. Thanks!
On a Mac, you need administrative access to write to /Applications.
There isn't a way around this, except to copy the app to the user's home folder instead.