I'm using Packages to build PKG installer. Its goal quite simple: deliver my app to /Applications
folder and launch it. Packages.app is doing its job almost well except one thing. When it launches post install script (simple script that launches just installed app), the script is launched as root, hence the app is launched as root too. This is undesired behaviour. It's strange why the installer requires Admin password during installation, I keep this setting unchecked in PKG project. So, the question is: how to make installer run post install scripts under current logged user?
Asked
Active
Viewed 988 times
4

DeepThought
- 228
- 1
- 3
- 10