问题
I use MsiEnumProducts() to find all installed MS Office products and check their versions. If I have an Office 2013 Professional Plus edition, it works correctly. I receive a full list of installed office products, like word, excel, outlook, etc, with correct product code GUIDs. https://support.microsoft.com/en-us/kb/2786054
The GUIDs look like this:
- Microsoft Office Professional Plus 2013 - {90150000-0011-0000-1000-0000000FF1CE}
- Microsoft Word MUI (English) 2013 - {90150000-001B-0409-1000-0000000FF1CE}
But if I have Home and business edition on PC, the MsiEnumProducts() doesn't find installed Office. The only installed office products, that the function provides, are:
- Office 15 Click-to-Run Extensibility Component - {90150000-008C-0000-1000-0000000FF1CE}
- Office 15 Click-to-Run Localization Component - {90150000-008C-0407-1000-0000000FF1CE}
- Office 15 Click-to-Run Licensing Component - {90150000-007E-0000-1000-0000000FF1CE}
But the Office 2013 Home and business edition GUIDs should look like this {90150000-0013-0000-1000-0000000FF1CE}.
I have Win 8.1 x64, Office x64, program is built both under Win32 and x64.
What do you think about the problem ?
回答1:
Click to run is a technique Microsoft uses to virtualize and stream office to end users without actually "installing" it. There's no installed product information to find.
来源:https://stackoverflow.com/questions/31201958/cant-find-installed-office-2013-home-and-business-with-msienumproducts