Hi Everyone,
I am working in an attended bot and need to throw a message to the user if MS office not installed in his/her machine when bot is triggered. Could you please suggest on this.
Thanks,
Ulaga.
Hi Everyone,
I am working in an attended bot and need to throw a message to the user if MS office not installed in his/her machine when bot is triggered. Could you please suggest on this.
Thanks,
Ulaga.
Two options that I can see:
First is to surround your workflow in a try catch, and catch FileNotFoundException, then add your message in the catch activity.
Second is to look for the actual word executable, I think by default (atleast in windows 10) WINWORD.EXE is stored in C:\ProgramFiles(x86)\Microsoft Office\Office16. So you could search that directory for that specific file name and only continue if its found.
Hope this helps!