Has anyone utilized BigFix to push Cisco Umbrella Roaming Client on Mac?
I’m not extremely knowledgeable on Mac installs, specifically with action script.
Along with the .pkg file, there is a .plist file that needs to be present and represents the Orginfo.
Cisco provides some install commands (https://docs.umbrella.com/deployment-umbrella/docs/appendix-g-command-line-and-customization-for-installation#deploymacos ) but implementing them in the action script is a little confusing.
These are the commands in the url specified:
First, you must create a folder on the computer:
sudo mkdir “/Library/Application Support/OpenDNS Roaming Client/”
Then, copy the OrgInfo.plist file—found in the downloaded Roaming Client .zip file—to the new location.
sudo cp OrgInfo.plist “/Library/Application Support/OpenDNS Roaming Client/”
following command with the actual version number/filename:
sudo /usr/sbin/installer -pkg /path/to/RoamingClient_MAC_#.#.##.pkg -target /
1 Like
jgstew
April 11, 2022, 1:54pm
2
For actionscript, it would be something like:
prefetch RoamingClient_MAC.pkg ????? prefetch stuff ????
folder create "/Library/Application Support/OpenDNS Roaming Client"
delete "/Library/Application Support/OpenDNS Roaming Client/OrgInfo.plist"
copy __Download/OrgInfo.plist "/Library/Application Support/OpenDNS Roaming Client/OrgInfo.plist"
wait /usr/sbin/installer -pkg __Download/RoamingClient_MAC.pkg -target /
But you would probably want to use a createfile command or similar to create the OrgInfo.plist
… otherwise prefetch it. I can help with the createfile option if I know kind of what it looks like, but it should be mostly just copy and paste the contents of the file inside a createfile command.
Content of Orginfo.plist (sensitive info modified):
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>APIFingerprint</key>
<string>123456789</string>
<key>APIOrganizationID</key>
<string>98765432</string>
<key>APIUserID</key>
<string>11111132</string>
<key>InstallMenubar</key>
<true/>
</dict>
</plist>
1 Like
jgstew
April 11, 2022, 2:05pm
4
In that case, just put the createfile command after the prefetch and before the copying of this file over, like this:
prefetch RoamingClient_MAC.pkg ????? prefetch stuff ????
delete __createfile
delete __Download/OrgInfo.plist
createfile until _END_OF_FILE_
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>APIFingerprint</key>
<string>123456789</string>
<key>APIOrganizationID</key>
<string>98765432</string>
<key>APIUserID</key>
<string>11111132</string>
<key>InstallMenubar</key>
<true/>
</dict>
</plist>
_END_OF_FILE_
copy __createfile __Download/OrgInfo.plist
folder create "/Library/Application Support/OpenDNS Roaming Client"
delete "/Library/Application Support/OpenDNS Roaming Client/OrgInfo.plist"
copy __Download/OrgInfo.plist "/Library/Application Support/OpenDNS Roaming Client/OrgInfo.plist"
wait /usr/sbin/installer -pkg __Download/RoamingClient_MAC.pkg -target /