Archive: String Search and Compare?


String Search and Compare?
Hi, I have a question regarding one common task that any installer would have to perform. I haven't figured out how to do it with NSIS 1.98, and I'd appreciate any help.

Basically I have an application with a "bin" directory and I want to add it into the PATH, but before that, I'd like to check if it's already there, if so, then I would skip this step so as not to add redundant entries.

When uninstalling, I need to fish out that "bin" directory and remove it if present.

Thanks,

yours
Webmania


Solution Found
Okay, I should have done a search first :-D, found the solution (path.zip) from some previous post, made some modifications and it works fine.

Thanks,

yours
webmania