DiscordForOffice
DiscordForOffice copied to clipboard
Differentiate between 365 and Standalone copies of Microsoft Office
Please add proper Office 365 detection so it will show Microsoft (product name) 365 in Large Icon description instead of Microsoft (product name) 2016.
I've been scanning through the documentation provided by Microsoft, and I don't think this is possible.
I've searched for 365
and subsc
in the following links:
- https://docs.microsoft.com/en-us/dotnet/api/microsoft.office.core?view=office-pia
- https://docs.microsoft.com/en-us/dotnet/api/microsoft.office.tools?view=vsto-2017
There's also no obvious signs of Office 365 in the MainModule.FileVersionInfo
i used this script to dump this info
Debug.WriteLine(ObjectDumper.Dump(Process.GetCurrentProcess().MainModule.FileVersionInfo));
{System.Diagnostics.FileVersionInfo}
Comments: ""
CompanyName: "Microsoft Corporation"
FileBuildPart: 11425
FileDescription: "Microsoft Word"
FileMajorPart: 16
FileMinorPart: 0
FileName: "C:\Program Files\Microsoft Office\root\Office16\WINWORD.EXE"
FilePrivatePart: 20202
FileVersion: "16.0.11425.20202"
InternalName: "WinWord"
IsDebug: False
IsPatched: False
IsPrivateBuild: False
IsPreRelease: False
IsSpecialBuild: False
Language: "Language Neutral"
LegalCopyright: ""
LegalTrademarks: ""
OriginalFilename: "WinWord.exe"
PrivateBuild: ""
ProductBuildPart: 11425
ProductMajorPart: 16
ProductMinorPart: 0
ProductName: "Microsoft Office"
ProductPrivatePart: 20202
ProductVersion: "16.0.11425.20202"
SpecialBuild: ""
Unless I am dumb dumb, I can't find obvious ways, either in the docs and Google.
If you (or anyone else) can find any way of doing this, please get back to me.
Well there's this clear indicator, but the program can't check for that