DiscordForOffice icon indicating copy to clipboard operation
DiscordForOffice copied to clipboard

Differentiate between 365 and Standalone copies of Microsoft Office

Open papin97 opened this issue 5 years ago • 2 comments

Please add proper Office 365 detection so it will show Microsoft (product name) 365 in Large Icon description instead of Microsoft (product name) 2016.

papin97 avatar Apr 07 '19 16:04 papin97

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.

7coil avatar Apr 07 '19 23:04 7coil

image Well there's this clear indicator, but the program can't check for that

7coil avatar Apr 15 '19 22:04 7coil