0

I’m using pkgbuild to build a Mac installer. I specify the —-install-location as /Applications. I build the package with no issues when I install the pkg it says installed successfuly but many of the files in the payload are not been installed on the computer.The only files installed are the one going to the Applications folder. can I specify multiple paths in --install-location?How do I fix this issue? Pls help

the pkgbuild command in the script to build the package

pkgbuild --root "./build/Library/"
--component-plist ./app.plist
--install-location "/Applications"
--identifier "Identify"
--version "${VERSION}"
--filter ".DS_Store"
--ownership preserve
--scripts "./build/Library/scripts/" \

I tried specifying many install-location but does not work but it create error creating the package. when I set the --install-location to "/". There's also an error installing the package(Package not compatible with MacOS version)

0 Answers0