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

Adding Search Directory


5 replies to this topic

rajkulkarni

rajkulkarni
  • Full Members
  • 44 posts

Posted 10 June 2004 - 14:36

I would like to know how to add a search path during an installation.

Raj

Taco Bell

Taco Bell

    IS6 Expert

  • Moderators
  • 1,281 posts

Posted 10 June 2004 - 19:48

What do you mean by that? Like a way to locate a previous installation or maybe a way of appending to the existing system path variable?

Edited by Taco Bell, 10 June 2004 - 19:49.

user posted image

rajkulkarni

rajkulkarni
  • Full Members
  • 44 posts

Posted 10 June 2004 - 20:35

I would like to append to the existing system path variable. I know how to get the system path (I use "GetEnv"). I want to know how to search the system path to find out if a a certain directory is stored there. If it isn't, I know to know how to append to it.

Raj

Taco Bell

Taco Bell

    IS6 Expert

  • Moderators
  • 1,281 posts

Posted 11 June 2004 - 00:51

Hmm, well in that case just use the string operator % to see if the certain directory is already listed in the previously retrieved system path.
user posted image

rajkulkarni

rajkulkarni
  • Full Members
  • 44 posts

Posted 11 June 2004 - 14:20

What command do I use to set the path?

Raj

Taco Bell

Taco Bell

    IS6 Expert

  • Moderators
  • 1,281 posts

Posted 11 June 2004 - 14:38

Sorry, I assumed you knew how to do that based on your previous statements.

In that case though, just look here at this "Handle PATH Environment on NT" sample.

Edited by Taco Bell, 11 June 2004 - 14:38.

user posted image