so could you represent this like:
So you should create a Component Template to describe your application, it will be better to put things here that in the global Config Object Dictionary.
In the Template, define the discovery condition as /foo/bar/??APPNAME?? exists (or something that tells you an app is on the box)
In the 'Local Properties' in the Template create a Property called 'APPNAME' - make it a string or string enumeration.
Then, in the 'Local Properties' on the 'Instances' tab (something like that) create an instance for each application and set the 'APPNAME' appropriately (I don't think you can use 'NAME' because 'NAME' turns into something like ' '