question

NC-9761 avatar image
0 Votes"
NC-9761 asked XingyuZhao-MSFT commented

third-party programs encountering dead-end interacting with Outlook

If a program has simple code for interacting with Outlook (such as 365) with a create form code to generate a new blank email form, generally this works fine.
For some users though, they also happen to have the "Office" MS Store app installed and at some point an update occurs related to this app and somewhere in the backend the file path the code is directed to use in order to reach the appropriate OUTLOOK.exe to generate the form, gets changed, resulting it the program dead-ending and being unable to find Outlook to interact with it.

What was found previously is that it was getting directed to the C:\Program Files\WindowsApps folder. Inside would be an "outlook desktop" app folder with a long version number included in the folder name. Figured something in the registry is pointing it at this instead of any other usual file path to Outlook. At some point, an update occurs to the app, or something related to Office, there's a new version number, and a new folder is generated in WindowsApps. The old one is cleared out, but the registry fails to update this information, so programs trying to interact with Outlook still get directed to the old Outlook version folder, which is now empty, and the program dead-ends and hits a non-specific .NET and KERNELBASE error, but this is the root cause of that occurring.

Tried several times to find where to correct this in the registry and still come up with nothing. The usual solution given to this issue is to have the system re-imaged WITHOUT that "Office" app, just the full installed version of Office and the problem is removed at that point.
Would anyone have any insight about where, specifically, the registry would need to be corrected to get it off of this kind of file path and what it normally should be pointing at? Prefer to find a solution other than having to re-image a system when this comes up.
Thanks

dotnet-runtime
· 5
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @NC-9761,

Welcome to our forum. Please kindly understand under Outlook tag, we mainly focus on general issue on outlook desktop client, considering your issue may be more related to the interacting from third-party programs , I would remove Outlook tag, thanks for your understanding.

0 Votes 0 ·

Very well, that's done. Wasn't quite certain which other tags would be appropriate in this case.

0 Votes 0 ·

Hi @NC-9761 ,
What's the type of your application? What is your third-party program about?
Note: third-party application is not supported here. You can post your question on the third-party product forums.

0 Votes 0 ·

It is a CRM-type application. The function is to be able to create a blank email form to send an email to a contact on a client account. Other functions are to open a simplified version of the inbox to select messages and save copies to the account for reference to correspondence history.

Where is this third-party forum? If I can repost this there and get a useful answer that would be great.

0 Votes 0 ·

Hi @NC-9761 ,
If your application is a third-party product not supported by Microsoft, you need to post the question in the relevant third-party product forum for more help.

0 Votes 0 ·

0 Answers