I want to create a pkg file to install the bundle in the user directory (/Users//Applications/).
How can I do it?
I used the product build with the transfer of the file to the product:
productbuild --component ./Bundle.app --product ./file.plist
file.plist contains
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>home</key>
<true/>
</dict>
</plist>
But it does not work...
Is it possible to achieve this behavior with
pkgbuild
or
productbuild
?