Vmware Horizon - Package

jameson
Contributor II

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 ?
0b16ee0e6d1242d78c819b9529b26adb

2 REPLIES 2

TCBIW
New Contributor III

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>

8511b3059f024f68ba6b6ef216daa84a

e56c00f5c031441c810c1a3bc39200ce

adroitus
New Contributor II

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.

Mac user since 1988.