Resolved Installation error for ASCOM DLImaging driver x64 - 6.4.22.0 on Windows 10

Discussion in 'Aluma CCD Series' started by Kalpesh Jasapara, May 21, 2023.

  1. Kalpesh Jasapara

    Kalpesh Jasapara Cyanogen Customer

    Joined:
    Apr 23, 2020
    Messages:
    29
    Hello,

    Received the email update for the latest DLAPI driver.
    I see the following error while installing the latest DLImaging driver on Windows 10 x64 - plan to use with TheSkyX and NINA. Installing for Aluma 8300.

    Any suggestions?

    upload_2023-5-21_20-24-50.png

    Thanks
    -Kalpesh
     
  2. Colin Haig

    Colin Haig Staff Member

    Joined:
    Oct 27, 2014
    Messages:
    7,379
    Location:
    Earth
    Does your user account have administrator permission on the machine? I do NOT mean "Run as Administrator".
    If not, you will need an account that belongs to the administrator group.
     
  3. Colin Haig

    Colin Haig Staff Member

    Joined:
    Oct 27, 2014
    Messages:
    7,379
    Location:
    Earth
    Kalpesh, besides confirming if
    a) your account has Admin group membership
    b) which OS are you running? e.g. Windows 10 Professional 64-bit ?
    c) which ASCOM version e.g. 6.6. SP1
    Thanks.
     
  4. Kalpesh Jasapara

    Kalpesh Jasapara Cyanogen Customer

    Joined:
    Apr 23, 2020
    Messages:
    29
    Hello Colin,

    Thank you for your reply.

    Confirmed "kalpeshj" user is Administrator on the system.
    I get the same problem while installing "Run as Administrator".
    Please note 32bit package installed fine.

    System is Windows 10Pro 22H2, OS build 19045.2965, System Type is 64-bit operating system, x64-based processor.
    ASCOM Platform 6.6.SP1 - 6.6.1.3673

    with regards,
    -Kalpesh
     
  5. Kalpesh Jasapara

    Kalpesh Jasapara Cyanogen Customer

    Joined:
    Apr 23, 2020
    Messages:
    29
    Quick update, this is the error when I manually try to register the DLL>

    upload_2023-5-23_18-58-0.png

    if that helps.

    Regards,
    -Kalpesh
     
  6. Colin Haig

    Colin Haig Staff Member

    Joined:
    Oct 27, 2014
    Messages:
    7,379
    Location:
    Earth
    Thanks Kalpesh. Is the file "DLAPIWrapper.dll" actually present in C:\windows\system32 ?
    Wondering if the installer missed a step.
     
  7. Kalpesh Jasapara

    Kalpesh Jasapara Cyanogen Customer

    Joined:
    Apr 23, 2020
    Messages:
    29
    Hello Colin,

    Correct. I had the same question.
    I did use "dir" to verify the file exists before trying a manual registration.

    The file does get installed by installer and gets removed on "Abort" of the installation.
    However if I pause the installation at the time of the initial error mentioned earlier, the file does exist.

    with regards,
    -Kalpesh
     
  8. Colin Haig

    Colin Haig Staff Member

    Joined:
    Oct 27, 2014
    Messages:
    7,379
    Location:
    Earth
  9. Kalpesh Jasapara

    Kalpesh Jasapara Cyanogen Customer

    Joined:
    Apr 23, 2020
    Messages:
    29
    Hello Colin,

    There is no problem with the DISM or SFC, as I also tried the same on a fresh Celeron MELE Quieter fanless PC running Windows 11 PRO 22H2, which is latest updated and does not have any filesystem errors or corruption (I presume)>

    I debugged the problem further on Microsoft forums and found the solution.

    By default the Microsoft Visual C++ Redistributable is not installed on the system.
    https://learn.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist?view=msvc-170
    Apparently this optional feature needs to be installed on the Windows to be able to run the DLImagingASCOM x64 correctly without errors.

    Quote from the above link,
    "The Visual C++ Redistributable installs Microsoft C and C++ (MSVC) runtime libraries. These libraries are required by many applications built by using Microsoft C and C++ tools. If your app uses those libraries, a Microsoft Visual C++ Redistributable package must be installed on the target system before you install your app. The Redistributable package architecture must match your app's target architecture. The Redistributable version must be at least as recent as the MSVC build toolset used to build your app. We recommend you use the latest Redistributable available for your version of Visual Studio, with some exceptions noted later in this article."

    Thank you for your help.

    I will test the DLImaging 64bit with NINA - Aluma 8300 and PHD2 guider (OAG).

    with Regards,
    -Kalpesh
     
  10. Colin Haig

    Colin Haig Staff Member

    Joined:
    Oct 27, 2014
    Messages:
    7,379
    Location:
    Earth
    Thanks for letting us know this is resolved.
    There"s an article about the runtime on the forum from a few months ago. Details here:
    https://forum.diffractionlimited.co...talling-microsoft-visual-studio-runtime.9001/

    Clear skies!
     

Share This Page