11-15-2024 07:50 AM - edited 11-15-2024 08:13 AM
I can't remember how but how do i see the file in the office2024.pkg showing what get's installed?
I can't seem to get the microsoft teams to NOT install. Here is my .plist that i use with -applychoicechanges
Am I naming the <string>com.microsoft.teams</string>. correctly? or is it something else?
is it com.microsoft.teams2
I added the 'defender' entry but not sure if that is correct/necessary/needed. (defender didn't get installed)
<?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">
<array>
<dict>
<key>attributeSetting</key>
<integer>0</integer>
<key>choiceAttribute</key>
<string>selected</string>
<key>choiceIdentifier</key>
<string>com.microsoft.OneDrive</string>
</dict>
<dict>
<key>attributeSetting</key>
<integer>0</integer>
<key>choiceAttribute</key>
<string>selected</string>
<key>choiceIdentifier</key>
<string>com.microsoft.onenote.mac</string>
</dict>
<dict>
<key>attributeSetting</key>
<integer>0</integer>
<key>choiceAttribute</key>
<string>selected</string>
<key>choiceIdentifier</key>
<string>com.microsoft.teams</string>
</dict>
<dict>
<key>attributeSetting</key>
<integer>0</integer>
<key>choiceAttribute</key>
<string>selected</string>
<key>choiceIdentifier</key>
<string>com.microsoft.defender</string>
</dict>
<dict>
<key>attributeSetting</key>
<integer>0</integer>
<key>choiceAttribute</key>
<string>selected</string>
<key>choiceIdentifier</key>
<string>com.microsoft.outlook</string>
</dict>
</array>
</plist>
Posted on 11-15-2024 08:48 AM
To Exclude teams from installing use the below
<?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>InstallTeams</key>
<false/>
</dict>
</plist>
Posted on 11-15-2024 08:49 AM
Refer the below for more information
https://learn.microsoft.com/en-us/microsoft-365-apps/mac/preferences-office
Posted on 11-15-2024 08:53 AM
I have never used this method. If I want to install Office without Teams and I didn't want to install all the apps separately, I would just use the version of the install package that does not contain Teams. You can find it here.
Posted on 11-15-2024 09:14 AM
@howie_isaacks i'm grabbing my Office LTSC 2024 from the link below. Even though it has the same number in the downloaded file name (24111020) it doesn't say BusinessPro
Posted on 11-15-2024 09:18 AM
It looks like I have it now NOT installing Microsoft Teams. I changed the section from
<dict>
<key>attributeSetting</key>
<integer>0</integer>
<key>choiceAttribute</key>
<string>selected</string>
<key>choiceIdentifier</key>
<string>com.microsoft.teams</string>
</dict>
to the following by just adding the number 2
<dict>
<key>attributeSetting</key>
<integer>0</integer>
<key>choiceAttribute</key>
<string>selected</string>
<key>choiceIdentifier</key>
<string>com.microsoft.teams2</string>
</dict>
i opened up the office.pkg with pacifisit and seen the name com.microsoft.teams2 , so i decided to try it and looks to have worked.
I'm grabbing my Office LTSC 2024 from HERE
Posted on 11-15-2024 01:03 PM
Another way to prevent installing specific apps is to deploy a configuration profile and set Install Teams as part of the Suite Installer to "false".
Look in Computers > Configuration Profiles > Application & Custom Settings > External Applications > Jamf Repository > com.microsoft.office.