How to detect 10.1 as setup Launch Condition

259
1
01-21-2013 05:49 AM
Highlighted
New Contributor
I've updating our ArcGIS extension COM components to support 10.1, however when it comes to deployment I've found that the instruction at http://resources.arcgis.com/en/help/arcobjects-net/conceptualhelp/index.html#//00010000016r000000 no longer appear to apply.

Is it possible to detect 10.1 in a setup project launch condition?
Reply
0 Kudos
1 Reply
Highlighted
New Contributor III
Yes, it's possible.  I am not sure if it's the right way or not.  If someone has something better please let me know.

I set one launch condition and 2 registry search

First reg search searches for this key for 32 bit OS - SOFTWARE\ESRI\Desktop10.1 with property name, IS32AGS101
Second reg search searches for this key for 64 bit OS - SOFTWARE\Wow6432Node\ESRI\Desktop10.1 with property name, IS64AGS101

In the condition property of the launch condition I do something like this, (IS32AGS10="10.1" OR IS64AGS101="10.1").  What you are doing is checking if the key value 10.1 exists.  If so then let the install continue otherwise display the custom message and stop the install.  Hope that helps.

Steve