Book a Demo

Author Topic: EA from the Command Line  (Read 5538 times)

philchudley

  • EA User
  • **
  • Posts: 750
  • Karma: +22/-0
  • EA Consultant / Trainer - Sparx Europe
    • View Profile
EA from the Command Line
« on: July 22, 2009, 12:29:32 am »
Hi All

Does anyone know if it is possible to give the filepath of the floating license store as a parameter to ea.exe in much the same way as you can give the filepath of a ea project file?

for example

ea.exe %1 %2

Where %1 is the filepath of the project (or connection string)
and %2 is the filepath of the floating license store

Cheers and thanks
Models are great!
Correct models are even greater!

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: EA from the Command Line
« Reply #1 on: July 22, 2009, 09:07:24 am »
No, it's not possible.

lubos

  • EA User
  • **
  • Posts: 101
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: EA from the Command Line
« Reply #2 on: July 24, 2009, 06:23:24 pm »
You can overcome it by manipulating the registry. we use the following command:

reg add "HKCU\Software\Sparx Systems\EA400\EA\OPTIONS" /v AutoCheckoutSharedKeyArray /t REG_BINARY /d 02 /f

reg add "HKCU\Software\Sparx Systems\EA400\EA\OPTIONS" /v SharedKeyFolder /t REG_SZ /d "C:\PATH\_licence" /f

philchudley

  • EA User
  • **
  • Posts: 750
  • Karma: +22/-0
  • EA Consultant / Trainer - Sparx Europe
    • View Profile
Re: EA from the Command Line
« Reply #3 on: July 25, 2009, 01:57:50 am »
Thanks am I correct in assuming that the path after /d in the last reg entry is the file path to the shared licence store?
Models are great!
Correct models are even greater!

lubos

  • EA User
  • **
  • Posts: 101
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: EA from the Command Line
« Reply #4 on: August 06, 2009, 07:38:00 pm »
Yes, you are right