I am using ZCM 11.2.2.
I have a bundle which uses a "Registry Key Value" bundle requirement, checking for a value of "String Type", with the "<>" (not equal to) condition, against a specified string.
When the Registry entry exists and is a REG_SZ with that same specified string, this requirement fails, as it should.
When the Registry entry exists and is a REG_EXPAND_SZ with that same specified string, this requirement passes. This is incorrect.
The documentation for the "Registry Key Value" requirement type states that when checking for a value of "String Type", the check will only be performed if the type found in the Registry is either REG_SZ or REG_EXPAND_SZ. This seems to indicate that REG_EXPAND_SZ would indeed be expected to be a valid type here. The documentation says nothing about REG_EXPAND_SZ being treated specially or differently in any way.
Is this expected? Is there anything I can do to make this work?
I have a bundle which uses a "Registry Key Value" bundle requirement, checking for a value of "String Type", with the "<>" (not equal to) condition, against a specified string.
When the Registry entry exists and is a REG_SZ with that same specified string, this requirement fails, as it should.
When the Registry entry exists and is a REG_EXPAND_SZ with that same specified string, this requirement passes. This is incorrect.
The documentation for the "Registry Key Value" requirement type states that when checking for a value of "String Type", the check will only be performed if the type found in the Registry is either REG_SZ or REG_EXPAND_SZ. This seems to indicate that REG_EXPAND_SZ would indeed be expected to be a valid type here. The documentation says nothing about REG_EXPAND_SZ being treated specially or differently in any way.
Is this expected? Is there anything I can do to make this work?