Skip to main content

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>


 

To Exclude teams from installing use the below 


plist name : com.microsoft.office<?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>​

Refer the below for more information


https://learn.microsoft.com/en-us/microsoft-365-apps/mac/preferences-office


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.


https://learn.microsoft.com/en-us/officeupdates/update-history-office-for-mac#most-current-packages-for-office-for-mac


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.


https://learn.microsoft.com/en-us/officeupdates/update-history-office-for-mac#most-current-packages-for-office-for-mac


@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


https://learn.microsoft.com/en-us/microsoft-365-apps/mac/deployment-options-for-office-for-mac#download-office-for-mac-to-your-local-network


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 


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.



 


Reply