Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I can query the current version from RuntimeInfo.Version. But I would also like to know what service pack is also installed. Do I need to just check the registery key HKEY_LOCAL_MACHINE\SOFTWARE\ESRI\ArcGIS\RealVersion. Or is there a proper ArcObject that allows such a thing?

share|improve this question
up vote 4 down vote accepted

This may be a better way then trying to read the registry key.

This page can be used as a lookup from version number to service pack.

share|improve this answer
+1 I guess we can safely assume build numbers always increase, so you can just compare to see if the build number you require against whatever the build number is in the FileVersion. – Kirk Kuykendall Feb 28 '12 at 23:42
@KirkKuykendall That seems to be the case. The only thing I'm worried about is that the service packs don't update the executable version. I don't have any evidence that can happen, but I know that some DLLs don't always match... – Erik L Feb 29 '12 at 3:03

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.