Book a Demo

Author Topic: How to check if EA is installed and what version  (Read 9761 times)

StephaneT

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
How to check if EA is installed and what version
« on: February 05, 2007, 08:03:20 am »
Hi,

I want to build an application (not an addin) that uses the EA automation interface.

How can I check (from a C# program) if EA is installed, and if so which version.

I suppose it's done through the registry, but is there an official way that is also used in the installer?

thanks,
Stephane

thomaskilian

  • Guest
Re: How to check if EA is installed and what versi
« Reply #1 on: February 05, 2007, 01:30:36 pm »
Hmm. I guess there are not many possibilities. Either you check the registry, or you look into the program files. Trying to create an EA application object is just equivalent to looking into the registry, isn't it?

StephaneT

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: How to check if EA is installed and what versi
« Reply #2 on: February 05, 2007, 11:28:12 pm »
Ok, thanks. I'll go with the registry for now. It's just a precaution anyway.

regards,
Stephane

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: How to check if EA is installed and what versi
« Reply #3 on: February 06, 2007, 05:42:23 am »
Look at HKEY_CURRENT_USER\Software\Sparx Systems\EA400\EA. The Version attribute should provide the current version in the format: 6.5.803.
« Last Edit: February 06, 2007, 05:43:32 am by Midnight »
No, you can't have it!