![]() |
Substring Search
Hi,
I'am trying to write a script that find the path to an OCX or a DLL. code: The problem is that i have to give the full path ("/N='C:\Windows\system32\apexexchangeXcontrol2.ocx'") so that the plugins returm a result. Is there a way to search for a substring in the key? |
nsis already has built in registry support for this, use EnumRegValue and parse each path returned and look for your ocx/dll, to parse the returned string, you can do it yourself, or use the GetFileName macro (see E.1 "File Functions Header" in the nsis help file)
|
| All times are GMT. The time now is 04:20. |
Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.