Posted on 10-18-2024 07:59 AM
Hello
I'm trying deploy EndNote 21 so that End Users can open Word and the Cite While You Write plug-in will be configured.
Have tried to use configurater to do this and while everything seems to be in the write place the plugin doesnt load in word.
i did come accross this old post https://community.jamf.com/t5/jamf-pro/endnote-x8-w-cite-while-you-write-deployment/m-p/148974#M1380...
Which I have tried to updated.
#!/bin/bash
WordMajVersion=`defaults read "/Applications/Microsoft Word.app/Contents/Info" CFBundleShortVersionString | awk -F "." '{print $1}'`
WordMinVersion=`defaults read "/Applications/Microsoft Word.app/Contents/Info" CFBundleShortVersionString | awk -F "." '{print $2}'`
case $WordMajVersion in
15) echo "Word version 15.xx, need to confirm it is above 15.24"
if [ ${WordMinVersion} -ge 24 ]; then
rm -dfR /Library/Application Support/Microsoft/Office365/User Content.localized/Startup/Word/EndNote CWYW Word 2016.bundle
#Copy the new one
ditto "/Applications/EndNote 21/Cite While You Write/EndNote CWYW Word 2016.bundle" "/Library/Application Support/Microsoft/Office365/User Content.localized/Startup/Word/EndNote CWYW Word 2016.bundle"
chown -R root:admin "/Library/Application Support/Microsoft/Office365/User Content.localized/Startup/Word"
fi
;;
16) echo "16.X this is the insider build"
rm -dfR /Library/Application Support/Microsoft/Office365/User Content.localized/Startup.localized/Word/EndNote CWYW Word 2016.bundle
#Copy the new one
ditto "/Applications/EndNote 21/Cite While You Write/EndNote CWYW Word 16.bundle" "/Library/Application Support/Microsoft/Office365/User Content.localized/Startup/Word/EndNote CWYW Word 16.bundle"
chown -R root:admin "/Library/Application Support/Microsoft/Office365/User Content.localized/Startup/Word"
;;
*) echo "**** Microsoft Word is not a compatible version! ****"
exit 1; # Fail the install as it won't patch correctly
;;
esac
Im getting a runtime error in word it seems have put the plugin in the write place. Word is just struggling to load it correctly. Has anyone else be successful with this
Thanks
Solved! Go to Solution.
Posted on 10-18-2024 09:58 AM
The method I chose was as follows, from the internal knowledge article I wrote so I wouldn't forget how I did it. Ignore that it says Endnote v20, its the same for Endnote v21- I just didn't update the KB article when we moved to v21.
Posted on 10-18-2024 09:58 AM
The method I chose was as follows, from the internal knowledge article I wrote so I wouldn't forget how I did it. Ignore that it says Endnote v20, its the same for Endnote v21- I just didn't update the KB article when we moved to v21.
Posted on 10-19-2024 08:42 AM
This script was for office 2016, which was fully EOLed 4 years ago. Is your environment using Office 2016 still like the example you grabbed the script from?
#!/bin/bash
echo "code blocks are friend and make it easier to read code"
Posted on 10-21-2024 12:30 AM
Nope will give @pbenware1 method a go.
10-22-2024 04:31 AM - edited 10-22-2024 04:32 AM
@pbenware1 you method works a treat had pull in the office folder as this wasnt been captured. Apart from that works well. Many Thanks