Don't know if anyone else has asked this, but I couldn't find anything on it. I've got a string that I'm pulling from a registry entry that performs an action that removes said entry (as well as the files it points to) from the system. Problem is that when I have it tied to a button action I need to possibly change the text tied to that attribute. Easiest solution I can think of would be to have a way to re-run the search that grabbed the text in the first place. Is there any way to do that?
Just in case that was as brutally unclear as I think it might have been, let me try to explain in a few steps.
1. Get command line from registry (getting the command now and it works).
2. If the entry in the registry existed (i.e. the search came up with something other than ""), run the command (an uninstall).
3. If the registry entry no longer exists, change the result property from the search to the empty string, otherwise, leave it as it is.
I've got #1 and #2 working fine, it's #3 that's causing me some duress. Any ideas?
Jebrew
FOLLOW US
Get the latest news in Application Packaging