Posted on 02-02-2009 07:21 AM
Asking this experts.
Is there a way to script or package creating Network Locations? I currently have two network locations that I create on our base build; one with Proxy enabled and one without. I am wanting to move the function out of the base build and into a package or a script that can be applied at build time.
Thanks in advance.
Paul Austin
Wachovia Desktop Services
704 427-0903
Posted on 02-02-2009 12:07 AM
No simply way to do this...if you look at the plist files they are a little more complex than usual - I had the same question a few months back.
networksetup does not cover it....
Posted on 02-02-2009 07:41 AM
I would think if a networksetup script wouldn't do it alone, system events commanding System Preferences with an applescript could at least create the location and then you could hand off to a shell script to actually populate the location with networksetup.
j
Posted on 02-02-2009 07:52 AM
Look at using the networksetup binary under /usr/sbin you can script almost any of that stuff out