Find value in registry then get then get that Regkey
Hi Firedrich,
Here is a new one for you.
I have a need to search the registry for a specific value... I know what the value is but not where it might be in the registry, I need to find that value where ever it is then capture that regkey so that I can check for an updated file based on the search. I am specifically looking for a DriverDesc and DriverVersion which may or may not exist on any given machine. Is this possible within SB?
You may reference Reg Query as an example of what I am trying to do with the following command:
REG Query HKLM\Software\Microsoft\ResKit /v Version
I have tried several iterations of things combining different technologies which do not work, and was hoping that possibly SB could do this quite easily...
Kel
Re: Find value in registry then get then get that Regkey
Kel,
I have to give it some thoughts and get back to you.
Friedrich
Re: Find value in registry then get then get that Regkey
Thanks Friedrich...Keep up the good works...
Kel
Re: Find value in registry then get then get that Regkey
Still working on this.... It's tricky.
Friedrich
Re: Find value in registry then get then get that Regkey
Yes sir, it is. Been trying other ways to do this without success....
Kel
Re: Find value in registry then get then get that Regkey
Kel,
Working on a new built-in function to handle it. I'll post more information soon.
Friedrich
Re: Find value in registry then get then get that Regkey
This is why this software ROCKS so hard!
Quote:
Originally Posted by
linder
Kel,
Working on a new built-in function to handle it. I'll post more information soon.
Friedrich
1 Attachment(s)
Re: Find value in registry then get then get that Regkey
Hi Kel,
Thank you !!!
We have added a new "Search for Registry Key Value..." script function to the latest internal build (still needs some optimization). This will be available in the next maintenance build.
Friedrich
Re: Find value in registry then get then get that Regkey
Kel,
It was not a trivial task to add this feature (it's a complex recursive function). I think we'll have a test version available next week. Would it be possible for you to test it in your scenario?
Friedrich
Re: Find value in registry then get then get that Regkey
Absolutely, I am willing to test what ever you need me to. Anything to keep this product valuable.
Just let me know, I can send you an email if you need me to.
Re: Find value in registry then get then get that Regkey
Kel,
I haven't forgotten about you. This is a very very complicated function (has to be recursively called) and still does not work as expected. I think that's the reason why there is no standard Windows API available to handle it.
Still working on it...
Friedrich
Re: Find value in registry then get then get that Regkey
Friedrich,
Thank you for your tenacity. Sorry it has been so long for me getting back with you, medical issues caused me to be absent from work for some time, but I am back and ready to assist where needed. Just let me know.
Kel
Re: Find value in registry then get then get that Regkey
Kel,
So sorry to hear :( Hope you are doing better now!
I have added a SearchReg function to SetupBuilder. We'll compile a new internal version this weekend. It would be great if you could test the new feature.
Thanks,
Friedrich
1 Attachment(s)
Re: Find value in registry then get then get that Regkey
Update: the new "Search Registry Value Name..." script function seems to work fine now. Ready to test :)
Friedrich
Re: Find value in registry then get then get that Regkey
Kel,
The following is available in SetupBuilder 2017 Version 10 Build 5368 (December 19, 2016) now:
NEW : Add "Search for Registry Value..." script function. This lets you find a value in the Windows registry.
Friedrich