ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Covetrus AviMark Cannot Locate Microsoft Word Installation

    IT Discussion
    avimark covetrus ms office office 365 o365 word word 2016
    4
    21
    3.6k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • 1
      1337
      last edited by

      How is the software using Word? COM object? VBA?

      scottalanmillerS 1 Reply Last reply Reply Quote 0
      • scottalanmillerS
        scottalanmiller @1337
        last edited by

        @Pete-S said in Covetrus AviMark Cannot Location Microsoft Word Installation:

        How is the software using Word? COM object? VBA?

        COM object.

        1 1 Reply Last reply Reply Quote 0
        • 1
          1337 @scottalanmiller
          last edited by 1337

          @scottalanmiller said in Covetrus AviMark Cannot Location Microsoft Word Installation:

          @Pete-S said in Covetrus AviMark Cannot Location Microsoft Word Installation:

          How is the software using Word? COM object? VBA?

          COM object.

          Very sensitive to permissions.

          Do you have the skills in house to try and automate something with a simple program?

          1 Reply Last reply Reply Quote 0
          • 1
            1337
            last edited by 1337

            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.

            scottalanmillerS 2 Replies Last reply Reply Quote 0
            • scottalanmillerS
              scottalanmiller @1337
              last edited by

              @Pete-S said in Covetrus AviMark Cannot Location Microsoft Word Installation:

              I'd check what language AviMark is done in. Probably C#.

              Pascal

              1 Reply Last reply Reply Quote 0
              • scottalanmillerS
                scottalanmiller
                last edited by

                It's ghost ship software from the 1990s.

                1 popesterP 2 Replies Last reply Reply Quote 0
                • 1
                  1337 @scottalanmiller
                  last edited by 1337

                  @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.

                  scottalanmillerS 4 Replies Last reply Reply Quote 1
                  • scottalanmillerS
                    scottalanmiller @1337
                    last edited by

                    @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# 😉

                    1 Reply Last reply Reply Quote 0
                    • scottalanmillerS
                      scottalanmiller @1337
                      last edited by

                      @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.

                      1 Reply Last reply Reply Quote 0
                      • scottalanmillerS
                        scottalanmiller @1337
                        last edited by

                        @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.

                        1 Reply Last reply Reply Quote 0
                        • scottalanmillerS
                          scottalanmiller @1337
                          last edited by

                          @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.

                          1 Reply Last reply Reply Quote 0
                          • scottalanmillerS
                            scottalanmiller @1337
                            last edited by

                            @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.

                            1 Reply Last reply Reply Quote 0
                            • scottalanmillerS
                              scottalanmiller
                              last edited by

                              Hey, managed to get a screenshot when I ran into it again today.

                              AviMark MS Word Not Found

                              RomoR 1 Reply Last reply Reply Quote 0
                              • RomoR
                                Romo @scottalanmiller
                                last edited by

                                @scottalanmiller Creating a clean new user profile has been working on some of the machines.

                                scottalanmillerS 1 Reply Last reply Reply Quote 1
                                • scottalanmillerS
                                  scottalanmiller @Romo
                                  last edited by

                                  @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.

                                  1 1 Reply Last reply Reply Quote 0
                                  • 1
                                    1337 @scottalanmiller
                                    last edited by

                                    @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.

                                    scottalanmillerS 1 Reply Last reply Reply Quote 0
                                    • scottalanmillerS
                                      scottalanmiller @1337
                                      last edited by

                                      @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.

                                      1 Reply Last reply Reply Quote 0
                                      • popesterP
                                        popester @scottalanmiller
                                        last edited by

                                        @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.

                                        scottalanmillerS 1 Reply Last reply Reply Quote 2
                                        • scottalanmillerS
                                          scottalanmiller @popester
                                          last edited by

                                          @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!

                                          1 Reply Last reply Reply Quote 1
                                          • scottalanmillerS
                                            scottalanmiller
                                            last edited by

                                            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.

                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 1 / 2
                                            • First post
                                              Last post