Posted on 03-30-2020 04:14 AM
So it should be a very basic thing creating the package. I have the installer for the vmware horizon (version 5.4.1)
But I am unable to add the server within the package, as user should not need to enter this manually.
I have of course tried composer and also checked the /user/Preferences/com.vmware.horizon.plist but even I delete that file, the server link stays when restarting the application - so somewhere different it must be stored
Anyone has an idea ?
Posted on 03-30-2020 07:21 AM
I use a Configuration Policy targeted at the Computer level.
<?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>broker-history</key>
<array>
<string>https://{YOURDOMAIN}:443/broker/xml</string>
</array>
<key>defaultBroker</key>
<string>https://{YOURDOMAIN}:443/broker/xml</string>
<key>trustedServers</key>
<array>
<string>https://{YOURDOMAIN}:443/broker/xml</string>
</array>
</dict>
</plist>
Posted on 02-02-2022 05:40 PM
Ah-ha! I've been trying to get the required keys to make a minimum viable parameter list, and this is it! I wrote a bash script that uses the defaults command to write the values into the file post installation.