Firstly what is that you want to check with the registry keys created for the executable? Which version is installed? If that is the case can you try to modify your installed rule the following way and let me know if it works as you expected.
Use the Rule type : File version with registry value
Registry key :
Sample : (HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\ executable.exe)
Registry Value : Path
Sub-path : executable.exe
Comparison : equal to
Version : the version of the executable
I'm not looking for a version - I'm trying to see if the string value has " or not. If it does not have the path in the string value surrounded by " marks I need to apply a patch to reset that.
Although I have not tested it you may try using " instead of " as this is the proper xml declaration.
Scratch that idea I tested it and it failed as well.