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#M138024
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