You can create a system search to detect the other application using value data of a registry entry (note: not existence of registry key or value name), file path, folder path, INI file value, or component. Use the value (stored in a property) returned by system search to conditionally install components.
In the future, you may want to mention the version of AdminStudio used.