Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

System Search - registry 'path'


1 reply to this topic

KKop

KKop
  • Full Members
  • 8 posts

Posted 22 April 2005 - 14:09

In my install I do a System Search for a particular registry entry (InstallPath) of a prerequisite that may have just been installed.

To get this entry, I specify a 'path' in the registry that leads to the InstallPath variable, like this:

HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Tomcat\5.5

My problem is that the registry path may vary, depending on the version of the software installed. How can I read the InstallPath variable, if I don't know the version of the software, and therefore don't know the exact path that will lead me to the InstallPath entry?

Thanks.

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 25 April 2005 - 07:35

Add multiple search entires, one for each path.