|
Generic Guide to Installing Mac OSX Wagent
|
Log into the Mac as a local administrator.
- Download the desired Mac Wagent.zip from the following location:
- Extract the contents of the zip file
- Navigate to the following directory
./Netsweeper Workstation Agent – x.x.x.x-mac/Library/Application Support/Netsweeper Workstation agent/Wagent.app/Contents/Resources/
- Edit with a text editor (e.g. notepad) “com.netsweeper.wagent.plist” and edit the array strings according to your requirements. Make sure you split flags that contain a corresponding value into two strings e.g. -g h9joij4430953503fkdf would become
<string>-g</string>
<string>h9joij4430953503fkdf</string>
- Take a copy of “com.netsweeper.wagent.plist” and store it in a separate location, outside of the WAgent.app application bundle
- Copy the WAgent.app application bundle to the following directory, creating any directory which does not exist:
/Library/Application Support/Netsweeper Workstation Agent/
- Take the separate copy of “com.netsweeper.wagent.plist” you saved earlier and copy it to the following directory
/Library/LaunchAgents/
- Run the following commands from Terminal to configure the correct permissions
sudo chown root:wheel /Library/LaunchAgents/com.netsweeper.wagent.plist
sudo chmod o-w /Library/LaunchAgents/com.netsweeper.wagent.plist
10.Run the following command to launch the Wagent for all users
sudo launchctl load /Library/LaunchAgents/com.netsweeper.wagent.plist
Note – you can run the following to unload the LaunchAgent for all users
sudo launchctl unload /Library/LaunchAgents/com.netsweeper.wagent.plist
11.You should now see the Wagent icon loaded in the top of the system bar for any user that logs into the system
12.If you see an error icon, you may not have correctly entered your array strings, please ensure these are correct.