Licensing via build server question

Posted by: vtortola on 3 August 2017, 3:51 pm EST

  • Posted 3 August 2017, 3:51 pm EST



    Normal
    0




    false
    false
    false

    GA
    X-NONE
    X-NONE











































































































































































    /* Style Definitions */
    table.MsoNormalTable
    {mso-style-name:"Table Normal";
    mso-tstyle-rowband-size:0;
    mso-tstyle-colband-size:0;
    mso-style-noshow:yes;
    mso-style-priority:99;
    mso-style-qformat:yes;
    mso-style-parent:"";
    mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
    mso-para-margin:0cm;
    mso-para-margin-bottom:.0001pt;
    mso-pagination:widow-orphan;
    font-size:11.0pt;
    font-family:"Calibri","sans-serif";
    mso-ascii-font-family:Calibri;
    mso-ascii-theme-font:minor-latin;
    mso-fareast-font-family:"Times New Roman";
    mso-fareast-theme-font:minor-fareast;
    mso-hansi-font-family:Calibri;
    mso-hansi-theme-font:minor-latin;}



    Hi,



     



    I'm trying to integrate my EXE using the DDA component
    into our build. The build is using JetBrains TeamCity, which runs as SYSTEM.



     



    Builds from my machine don’t have a message, but builds
    from the server have a "Data Dynamics Evaluation" background text in
    the viewer window.



     



    Right now I have:



    - the licx in a subproject referencing DDA



    - the licx in the EXE referencing DDA



    - DDA installed under my login on the build server with
    the license registered in the exact same way as on my personal machine



     



    So, what can I do to make it pick up the license ? Is it
    looking for a file or a registry entry when the licx is being compiled ? If so,
    where?


    Cheers.

  • Replied 3 August 2017, 3:51 pm EST

    vtortola,
    I would first recommend that you create a new account with the required permissions to run TeamCity as a service as described in TeamCity's documentation: http://www.jetbrains.net/confluence/display/TCD3/Installing+and+Configuring+the+TeamCity+Server.  Then you would need to log into the machine under this account and install and license ddAnalysis.  This would allow the build machine to be able to access the license information.
  • Replied 3 August 2017, 3:51 pm EST

    Yes, sounds like it should work -- will try that.

    As a matter of interest, is the license information in the registry or in a file or is that considered confidential? (My next step was sysinternals procmon but thought I might get the answer as quickly by asking :D)

    Cheers.
  • Replied 3 August 2017, 3:51 pm EST

    Hi vtortola,

    We store the license file under the current user's %AppData%\Data Dynamics\Analysis directory. 

    It is on our list of things to update to move it to the common Application Data directory, so that the computer is licensed rather than that particular user.   This covers scenarios like the one you ran into as well as making it easier on developers who run multiple windows accounts for testing/debugging or security purposes.

    Cheers,

    James
  • Replied 3 August 2017, 3:51 pm EST

    Ok, thank you James.
Need extra support?

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

Learn More

Forum Channels