I need a solution
I am trying to check if a Registry Key exists using the 'System Search' funciton in Wise.
The Key doesn't have any consistent Values that i can check against, except for the '(Default)' Value, so i a trying to use that as the 'Value' setting in Wise.
The way i am doing this is:
- First creating a Property called 'BITTEST' with a default value of '1'. Screenshot
- Then in the System Search area, i am doing a search for a raw value in the registry key and setting the Property i created with the Value. Since the only Value that exists under that Key is the (Default) one, in the 'Value' field, i leave it blank (based on other articles i have read online) Screenshot
- If i manually browse to the registry Key using Regedit, i can see that the 'Default' Value is empty Screenshot
- Therefore, when i run the Wise package and check the log file, i would expect that the default value for the 'BITTEST' Property would change from '1' to either '0' or blank (not sure what should happen in this case). However, when i test this, the Property doesnt change from the default and stays at '1'Screenshot
Am i doing this the wroong way? Is there are better/correct way to do what i need?