Cannot use gclm_deploy.exe in windows docker container

Posted by: florian.otti on 13 December 2023, 11:11 pm EST

    • Post Options:
    • Link

    Posted 13 December 2023, 11:11 pm EST

    Hi!

    I’m currently trying to create docker images for our build pipelines. One problem I came across is that gclm_deploy.exe just does not do anything in the docker container.

    If I use it as part of the docker script nothing happens and also if I run the container and then call the executable nothing happens either.

    FROM mcr.microsoft.com/windows/servercore:ltsc2022
    
    SHELL ["powershell","-command"]
    
    RUN "Invoke-WebRequest https://cdn.grapecity.com/license/gclm_deploy.exe -OutFile C:\gclm_deploy.exe"
    
    RUN Start-Process -FilePath "C:\gclm_deploy.exe" -Wait

    I can copy the whole GrapeCity folder from my own ProgramData without problems (and that is my current workaround), but I can’t get the gclm_deploy.exe itself to do anything inside the Docker container.

    Any help would be appreciated.

  • Posted 14 December 2023, 11:34 pm EST

    Hi,

    We are testing this issue. We need some time to set up Docker environment. Will let you know once we test this issue.

    For now you can use the workaround to copy the files[gclm.exe, gclm.exe.config, and package_file] to the gclm folder.

    Regards,

    Nitin

  • Posted 19 December 2023, 11:16 pm EST

    Hi,

    As per the licensing team, The previous versions before v2.0 of gclm_deploy.exe has known problems running in the command line, because it is designed to run with UI. However, these problems have been fixed in v2.0 (the latest version at https://cdn.grapecity.com/license/gclm_deploy.exe).

    Running gclm_deploy.exe creates a folder: C:\ProgramData\GrapeCity\gclm. And put gclm.exe and gclm.exe.config file in that folder.

    As per the licensing team, Copying files manually is better for the users. It makes all steps under the control of users.

    However, both have the same process, you can opt anyone.

    For the gclm_deploy.exe, you can try the below command and let us know if this works for you or not:

    Start-Process -FilePath "gclm_deploy.exe" -ArgumentList "-d" -RedirectStandardOutput  "gclm_deploy_log.txt" -Wait

    It should generate the required files under gclm folder.

    Best Regards,

    Nitin

  • Posted 20 December 2023, 1:14 am EST

    Hi Nitin,

    thank you very much!

    The key thing is the “-d” parameter apparently. I did not find that anywhere.

    Regards,

    Florian

  • Posted 20 December 2023, 5:43 pm EST

    Hi Florian,

    Thanks for the acknowledgment.

    If you face any issues with our products, you can get back to us.

    Regards,

    Nitin

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels