How can I include files needed by preinstall/postinstall scripts when creating .pkg in mac osx?
I have performed this command in the terminal and have generated .pkg; however, nothing happens when I double click the generated .pkg file.
pkgbuild --root ./files --scripts ./scripts --identifier com.example.myapp --version 1 --install-location /Applications mypackage.pkg
where: /files (contains necessary files for preinstall/postinstall scripts) and /scripts (contains preinstall/postinstall scripts)