PDA

View Full Version : Using a System Search property



Kkop62
08-03-2007, 08:31 AM
The install folder for my application depends on the location of another app (Apache Tomcat); it's installed in a subfolder of Tomcat.

In 'System Search', I look for the path of Tomcat in the registry, then store it in a variable (APACHELOCATION).

My problem comes when I want to use this variable to define the install directory for my app:

I tried modifying [INSTALLDIR] in the 'Product Properties' by using the [APACHELOCATION] variable, but that doesn't seem to work. How do I use this variable to create my install folder path (like so: [APACHELOCATION]\Webapps\Test)

Am I even on the right track here?

Confused...

Thanks for any help you can give me.

RobertDickau
08-03-2007, 08:51 AM
It sounds as if you're on the right track; perhaps see this newsletter tip on the subject (PDF warning): http://www.macrovision.com/webdocuments/PDF/is_install_dir_from_app_search.pdf.

Kkop62
08-03-2007, 01:43 PM
It sounds as if you're on the right track; perhaps see this newsletter tip on the subject (PDF warning): http://www.macrovision.com/webdocuments/PDF/is_install_dir_from_app_search.pdf.

Worked perfectly! Thanks Robert!