Hi Vishnu, If the "Require admin authentication" option is checked in PackageMaker (under Configuration tab), shouldn't need to use sudo. Don vishnu kulkarni <vishnu5876@gmail.com> wrote:
Hi,
We are using Sudo command in Script to trash the app before installing the new one. However I believe Sudo command needs admin password to proceed further. The Script which is being used has 2 criteria
1) To kill the app if it's running.
2) To trash the app from applications and then go ahead with the installation.
To trash the app we are using Sudo Rm- R and full path of the app. Is it advisible to use Sudo command inside the script? Any other alternatives to trash the app before installing the new one using script?
Thanks, Vishnu
_______________________________________________ Do not post admin requests to the list. They will be ignored. Installer-dev mailing list (Installer-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/installer-dev/site_archiver%40lists.... This email sent to site_archiver@lists.apple.com