Covetrus AviMark Cannot Locate Microsoft Word Installation
-
I'd check what language AviMark is done in. Probably C#.
Make a small automation test using Words object model with the same language that AviMark uses and run it under the same user and permissions as the AviMark software.
That should give tell you some valuable things.
-
@Pete-S said in Covetrus AviMark Cannot Location Microsoft Word Installation:
I'd check what language AviMark is done in. Probably C#.
Pascal
-
It's ghost ship software from the 1990s.
-
@scottalanmiller said in Covetrus AviMark Cannot Location Microsoft Word Installation:
It's ghost ship software from the 1990s.
Doesn't really matter if you want it to work.
Pascal, that should be Delphi then. Doesn't matter either in this case because COM api has nothing to do with .NET. But Delphi produces real compiled exe files like C++ so it has full access to all windows APIs.
Unfortunately I've forgotten most things about COM objects, OLE automation and ActiveX.
What I do remember is that you go by the CLSid to invoke the COM object. Since the error is that it can't find the application it's either the wrong CLSid (registry related) or the wrong permissions/security settings.
When you troubleshoot COM automation you usually run the automated application with desktop interaction so you can see what happens. Not an option here though but it doesn't really matter because you don't get that far.
That's why you need to write a small program that invokes Word because if you can't, then your installation is the problem, not the AviMark application.
But you haven't provided much info in this thread (screenshots, versions, registry settings etc) so I guess you're not really trying to solve the problem, you just want to bitch about it.
-
@Pete-S said in Covetrus AviMark Cannot Location Microsoft Word Installation:
Doesn't really matter if you want it to work.
Point was it wasn't some modern tool like C#
-
@Pete-S said in Covetrus AviMark Cannot Location Microsoft Word Installation:
But you haven't provided much info in this thread (screenshots, versions, registry settings etc) so I guess you're not really trying to solve the problem, you just want to bitch about it.
Well, it's a code issue that the vendor has to solve. They are aware of it and we are tracking it, but they aren't fixing the code. They know that it is broken, and they know that they need to solve it. And their customers are paying them to provide the fix.
If we do any fixes like this and there are issues, AviMark will blame us. So it's a bit outside of what we can do to try to fix a problem that isn't ours to fix. AviMark says we have to fix it by just reinstalling Word. Which they know doesn't work, but it's an attempt to get out of providing support.
-
@Pete-S said in Covetrus AviMark Cannot Location Microsoft Word Installation:
Make a small automation test using Words object model with the same language that AviMark uses and run it under the same user and permissions as the AviMark software.
But we don't have access to that language. Delphi is a paid product that we don't have. We are the customer's IT support, not a development shop making AviMark.
-
@Pete-S said in Covetrus AviMark Cannot Location Microsoft Word Installation:
Unfortunately I've forgotten most things about COM objects, OLE automation and ActiveX.
What I do remember is that you go by the CLSid to invoke the COM object. Since the error is that it can't find the application it's either the wrong CLSid (registry related) or the wrong permissions/security settings.
When you troubleshoot COM automation you usually run the automated application with desktop interaction so you can see what happens. Not an option here though but it doesn't really matter because you don't get that far.Well, but according to Microsoft, the call that they are using is not supposed to work. So you see the problem. It's not like there is a COM call to fix, the issue is making the COM call in the first place. It's documented, specifically because some vendors were doing this, that this approach cannot work because it is based on how Word worked (intentionally or incidentally) long ago, but not any longer.
-
@Pete-S said in Covetrus AviMark Cannot Location Microsoft Word Installation:
But you haven't provided much info in this thread (screenshots, versions, registry settings etc) so I guess you're not really trying to solve the problem, you just want to bitch about it.
What would we provide? AviMark throws the error, and it just acts like Word isn't installed, and we know it is because AviMark is calling it incorrectly and reports incorrectly. There is no error code or anything of the sort, and the error is wrong anyway, because it is a bug / design flaw in the application reporting the false information.
-
Hey, managed to get a screenshot when I ran into it again today.
-
@scottalanmiller Creating a clean new user profile has been working on some of the machines.
-
@Romo said in Covetrus AviMark Cannot Locate Microsoft Word Installation:
@scottalanmiller Creating a clean new user profile has been working on some of the machines.
Great find! Thanks.
-
@scottalanmiller said in Covetrus AviMark Cannot Locate Microsoft Word Installation:
@Romo said in Covetrus AviMark Cannot Locate Microsoft Word Installation:
@scottalanmiller Creating a clean new user profile has been working on some of the machines.
Great find! Thanks.
It's strange that AviMark started to work just when you created a new user profile. What are the odds of that? They must have RDP'd into the customers system and recompiled their application. That must be it. I bet it didn't have anything do with the registry settings, as I would have imagined. Well, live and learn.
-
@Pete-S said in Covetrus AviMark Cannot Locate Microsoft Word Installation:
@scottalanmiller said in Covetrus AviMark Cannot Locate Microsoft Word Installation:
@Romo said in Covetrus AviMark Cannot Locate Microsoft Word Installation:
@scottalanmiller Creating a clean new user profile has been working on some of the machines.
Great find! Thanks.
It's strange that AviMark started to work just when you created a new user profile. What are the odds of that? They must have RDP'd into the customers system and recompiled their application. That must be it. I bet it didn't have anything do with the registry settings, as I would have imagined. Well, live and learn.
Well part of the problem is keeping it working, not just getting it to work. In this case, it's new installs. But with most cases in the past, it's existing installs that just stop working. According to Microsoft, it's flaky. It can work sometimes, but there is no guarantee or expectation of it to keep working.
Now maybe there is a registry setting that we can force that keeps it working. But officially, according to MS, there shouldn't be.
-
@scottalanmiller said in Covetrus AviMark Cannot Locate Microsoft Word Installation:
It's ghost ship software from the 1990s.
Pascal!!??? Wow... Hop in the way back machine. 1985, Apple IIe, computer math 2, sophomore in high school. We have come a looooooooong way.
-
@popester said in Covetrus AviMark Cannot Locate Microsoft Word Installation:
@scottalanmiller said in Covetrus AviMark Cannot Locate Microsoft Word Installation:
It's ghost ship software from the 1990s.
Pascal!!??? Wow... Hop in the way back machine. 1985, Apple IIe, computer math 2, sophomore in high school. We have come a looooooooong way.
I was a manager for the Pascal team at GMI in 1994!
-
This is working on several machines now. But @romo reports that it is still hit or miss, it's not a reliable or permanent fix, but it more reliable than other attempts. It remains, as MS has stated, somewhat random.