My concrete problem looks simple:
- Copy a file to
/tmp(it's an configuration script)
Execute the following command:
sudo installer -allowUntrusted -pkg "esets_remote_install.pkg" -target /
So there are some (or a lot of questions):
- To solve this problem, have I chose Distribution or Raw Package?
- On a Raw Package (which also could included in distribution, I can choose
Require admin password for installation, if this is checked, do I still need
My first try was to add the pkg and the file for temp to Distribution
Additional Resources in
Requirement & Resources and run the script via
Requirement. Did not work.
My second try was to put it into the Raw Package
Payloadand run the script via
Pre-installation. Again, no success.
Even adding the package and the configuration to
Additional Resources seems not solve my problem.
Thank you very much for all solutions and ideas. Even a console solution via