UNIX Command to install app

So, in ARD, i have pushed out a app to the local Admin account of my laptops I want to run that app from the root account on the Admin Desktop..


Say the app is called KC.app It seems to just have a .exe file in the app, it's NOT a .pkg that i can just push.

If i go to the actual machine and switch over to the Local Admin account, i run the app, and it asks for the local admin reds and does the rest.

I'm trying to automate it so i don't have to go to individual machines and switch to the admin account and launch this..


What command would you use in ARD to get the app on the local admin desktop to launch? I know i'm close on this....


Thanks.

iMac, OS X Mavericks (10.9.5), IT Manager for an Ad Agency

Posted on Dec 9, 2014 2:29 PM

Reply
4 replies

Dec 10, 2014 1:57 PM in response to Antonio Rocco

or maybe something like this?:

./Users/admin/Desktop/KcsSetup.app/Contents/MacOS/KcsSetup install


But i keep getting a -29 error..


I can do it over Terminal if i SSH onto the machine, but i'm trying to do this by ARD...

i SSH on, and then go to the /admin/Desktop and run the command listed in the post above, and it asks for my password, and it runs..


But i'm trying to get this done using ARD as root instead of SSH..


I also tried over ARD:

open /Users/admin/Desktop/KcsSetup.app

as root, but got this error:

LSOpenURLsWithRole() failed with error -10810 for the file /Users/admin/Desktop/KcsSetup.app.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

UNIX Command to install app

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.