Silent install .app without prompting user for credentials
Hi,
I'm the network admin for a high school, and I need to install an agent on all the staff computers that allows remote access from our ticketing system. Instead of bothering each staff member individually, I would like to silently install the .app through the ARD scanner.
The first issue I ran into is that ARD can only do .pkg installs, so I downloaded packagemaker and essentially built the .app into a .pkg. This worked to simply put the .app into the Applications folder of the test client, but it did not launch the app or peform the actual setup.
I can use a Unix command to launch the .app remotely after the "install" to complete setup, but this then prompts the user to enter his/her credentials. This is going to freak out any staff member who sees it, so I would like to get around that step. The rest of the setup is invisible anyway.
Is there a way (script?) to automatically and silently use my admin credentials to launch the .app setup? Or, is there a way to build a .pkg via packagemaker that does the same setup the .app does (since ARD already does silent .pkg installs)? When I opened the .app package contents, there are some components in there that I feel could be used to do this, but I'm not a developer by any means, so I have no idea how.
Thanks a ton to anyone who has any ideas... I've done a good bit of googling and can't find much (without learning all the ins and outs of building apps/pkgs).
- Matt
OS X Mavericks (10.9.2), Clients are on OS 10.8.5