Can I enter License Key/License Server URL via Command Line when installing ReSharper?

No. License Settings management cannot be done via the command line now, so it should be configured manually on users PC after installation completes - on the 1st Visual Studio (with ReSharper) launch, or later in the "ReSharper | Help | License Information" dialog.

This is a common request, and we are considering about adding some "command line" commands in the future for these kinds of needs.

14 comments

I would absolutely love to be able to do this. This way I can run the install via Chocolatey.

0

Please help us SCCM administrators by providing a way to set licensing settings via command line.  Thanks.

0

Could be integrated into MSI as well. For example (a hint for developers) as Properties: PRODUCT_CODE=Full (or VCsharp or VBNET), LICENSE_KEY=1234567890123456789, LICENSE_TYPE=Single(or Server or whatever), LICENSE_SERVER=None(or 123.123.123.123 or mylicenseserver.mysite.com), LICENSE_SERVER_PORT=[whateverPortNumber] ... 

0

Any updates on this yet?

Because I as well would love the possibility to enter the license key during installation (preferably as a parameter to the MSI, so I can create a MST for this to install via GPO).

0

Also looking for an update on this.

0

This is seriously lacking. This feature is a must-have for any SCCM and Local administrators when they want to manage more than 100 computers with this plugin. Please look into!!

0

Well, a year ago they said it isn't a possibility yet, but "we are considering about adding some "command line" commands in the future for these kinds of needs"

Still haven't heard about it being possible now though.
And this is a serious issue, generating a lot of extra work for me; not being able to insert the (updated) license key into the installation, but instead having to enter it manually...

0

They really need to look into it. As a side-note, you should look into adding your licenses in their floating license server, that way you only need to update the server and not the computers. The computers point to the server.

0

Gabriel, that would still require to configure each installation to point to that server, wouldn't it?

0

Yes, but only once. You don't need to change the license every year when you renew.

0

I believe the license information is found in HKEY_CURRENT_USER\Software\JetBrains\Shared\vAny
Why can't it be in HKLM instead... the same way we can now do a "all users" installation.

0

This is total crap to be honest.  Enterprise tools that lack this simple functionality for management are not enterprise ready tools.  When is this going to be fixed?  I consider it a bug.

0

@Eric, have you considered using a JetBrains License Server in Enterprise environment you are talking about? It is the only way to activate ReSharper automatically without any end user interaction:

  1. Download and install JB License Server  https://www.jetbrains.com/help/license_server/downloading.html
  2. Register installed server and upload licenses to the server https://www.jetbrains.com/help/license_server/manage_licenses.html
  3. Configure "Automatic Server Discovery" feature https://www.jetbrains.com/help/license_server/configure_automatic_server_discovery.html 
  4. Since the default option on License Information dialog in ReSharper is to use automatically detected license server, ReSharper will be activated when a user runs Visual Studio with ReSharper. 

License Server is exactly what you need to get "Enterprise ready" ReSharper.

0

Please provide command line method. As I am automating the process of developer box setup, I have written scripts to install JetBrains IDE through brew cask. It will be good if Registration could be also done through command line interface.

Edited by Sagarma
0

Please sign in to leave a comment.

Have more questions?

Submit a request