Silent command line install

Posted by: bbonn on 22 March 2018, 1:43 am EST

    • Post Options:
    • Link

    Posted 22 March 2018, 1:43 am EST

    Hi,

    We would like to have puppet manage our build farm. We are licensed to have Active Reports 9 on a couple of these. So, we need a way to fully automate the install of active reports and the license. Does anyone have experience with this?

    Thanks in advance!

    Bernie

  • Posted 22 March 2018, 2:17 pm EST

    Hello,

    Command for installation:

    msiexec.exe /i "path to msi" /qn
    

    Command for the license activation:

    GrapeCity.LicenseManager.exe /Activate /Product:"ActiveReports 9" /ProductKey:2222222222222222222 /UserName:jeff /CompanyName:"my Company" /Email:jeff@jeff.com
    

    Note: Machine should have access to the internet for the license activation.

    Hope it helps.

    Thanks,

    Mohit

  • Posted 18 April 2018, 12:29 pm EST

    Hi Mohit,

    Thanks for that reply it was helpful for sure. I was wondering a couple things about applying the license. First off when I do that command line it waits at the end with “Press any key to continue…” Is there anyway to just have it close gracefully?

    Also, the machines we may be installing AR on don’t have internet access, we can turn it on if we are installing manually but that is not optimal. Is there anyway to activate the license without an internet connection?

    Thanks for any guidance!

    Bernie

  • Posted 18 April 2018, 7:16 pm EST

    Hello Bernie,

    You can add the “GrapeCity.LicenseManager.exe /Activate /Product:“ActiveReports 9” /ProductKey:2222222222222222222 /UserName:jeff /CompanyName:“my Company” /Email:jeff@jeff.com” to the separated batch file and use “call mylicense.bat” line in the main file to skip the pause.

    Is there anyway to activate the license without an internet connection?

    Please contact our sales team(us.sales@grapecity.com) for the same.

    Thanks,

    Mohit

  • Posted 19 April 2018, 3:36 am EST

    Hey Mohit,

    I have contacted sales to see about an offline install.

    Wondering also is there a way to simply install the license as part of the msiexec. I see some license properties in there, but not clear if you can do it in one step?

    Thanks,

    Bernie

  • Posted 19 April 2018, 8:05 pm EST

    Hello,

    You can create “.bat” file to install and license the AR9 in one step. Please refer the following “.bat” file.

    Hope it helps.

    Thanks,

    Mohit

    test.zip

  • Posted 10 May 2018, 12:20 am EST

    Hi There,

    I have made it much further along so thanks for your help so far. I am trying to set a proxy as part of my command to activate the license. Something like set http_proxy=http://someproxy.paychex.com:80. This enables me to use curl to hit the activation site, but when I try to activate the license via command line I get and error.

    There was a problem connecting to the GrapeCity Activation Service. Please check the internet settings and try again.
    

    If I set the proxy via IE then it works via command line. But this is not very usueful for automation. Can you let me know if there is a proxy environment variable that needs to be set to allow the license manager exe to access the internet. Is it possible it is using some other protocol other than http? Can you share how it access the activation site?

    Here is the command I use in the command prompt:

    GrapeCity.LicenseManager.exe /Activate /Product:"ActiveReports 9" /ProductKey:someproductkey /UserName:bernie /CompanyName:Paychex /Email:bbonn@paychex.com
    

    Thanks for any help!!

    Bernie

  • Posted 13 May 2018, 11:53 pm EST

    Hello,

    I am discussing with our development team to find the solution for this. Will inform you once we found any solution for this.

    Thanks,

    Mohit

  • Posted 17 May 2018, 11:11 pm EST

    Thanks Mohit,

    I am working on setting the proxy via the registry using powershell before we activate the license, which may work. My latest challenge is it seems the license manager requires the user to be admin to activate the license. As we are trying to run automated this may present a problem. Anyway around that?

    Thanks,

    Bernie

  • Posted 21 May 2018, 12:11 am EST

    Hello Bernie,

    Is it comfortable for you to run the “Powershell” as administrator? or you can also store the credential of the Administrator in powershell script to run the application as administrator.

    Thanks,

    Mohit

Need extra support?

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

Learn More

Forum Channels