Activation on Visual Studio Team Services hosted build server

Posted by: zmaten on 10 September 2017, 3:45 am EST

    • Post Options:
    • Link

    Posted 10 September 2017, 3:45 am EST

    Hello,

    our company uses Visual Studio Team Services for code repository, tasks and to make builds as well. I have found in previous topics that you have to activate license, which is not a problem on own build server, but is a problem on hosted environment. There is ability to run a windows batch file during the build process, so I thought that I can run activation by “C1LicenseActivation.exe /a:sn /i”, but it only launches the UI with the arguments specified filled in and waiting to click on the “Next” button.

    I couldn’t find how to automate this process, is there any switch or any other option how to activate license there?

    Thank you,

    Filip

  • Posted 10 September 2017, 3:45 am EST

    Hi Filip,

    Sorry for reaching late!

    We can silently activate C1 components using the following command

    C1LicenseActivation.exe /as: /u: /c:

    Exe location:

    “C:\Program Files (x86)\Common Files\ComponentOne Shared\C1LicenseActivation.exe” or

    “C:\Program Files\Common Files\ComponentOne Shared\C1LicenseActivation.exe”

    switch :

    /as: (serial key)

    /u: (user name)

    /c: (company name)

    Exit codes:

    0 Unknown,

    1 Cancel,

    2 Bad Or Missing Parameters,

    3 Failed To Activate,

    4 Failed To Deactivate,

    5 License Activated,

    6 License Deactivated,

    7 Out Of Memory,

    8 Wininet Error,

    9 Activation Server Error,

    10 Invalid Serial Number,

    11 Activation Denied,

    12 Eval License Activated,

    13 Eval License Failed

    ~nilay

  • Posted 10 September 2017, 3:45 am EST

    Hi Nilay,

    Thank you, I have prepared a script to make a silent activation on a build server, but keep getting exit code 3. On my computer it works perfectly (exit code 5).

    Maybe during my experiments I have made too many activations and I need also to deactivate after end of build?

  • Posted 10 September 2017, 3:45 am EST

    Hi Filip,

    Please check that the serial key must be activated on maximum three machines. If you are exceeding it, you need to deactivate on one of your machine.

    ~nilay

  • Posted 7 February 2018, 10:39 am EST

    Hi, What script needs to run in batch file? Are there other steps that precede this? Can you upload detailed steps?

    I’m trying to get hosted VSTS build working and don’t want to use local build agent.

    Thanks,

    Gary

  • Posted 12 February 2018, 6:05 pm EST

    Hi Gary,

    We have responded to your concern over another forum post, that your created: https://www.grapecity.com/en/forums/winforms-edition/vsts-hosted-builds.

    Hence, we request you to please refer the same and revert on it as needed.

    ~Ruchir Agarwal

Need extra support?

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

Learn More

Forum Channels