Getting failed with Relevance substitution failed

Hello Team,
Hello Team We are getting error while deploy the office patch (Office 365 Version 15.0.5023.1000 Available - Office 2013) We have checkd and found that in log (Relevance substitution failed) waithidden {“%22” & value “ClientFolder” of key “HKLM\SOFTWARE\Microsoft\Office\15.0\ClickToRun\Configuration” of native registry as string & “\officec2rclient.exe%22 /update user updatepromptuser=False displaylevel=False updatetoversion=15.0.5023.1000”} (group:6428752,action:6428753)

Use the Fixlet Debuger or an Analysis to check whether that key and value exists

Q: exists key "HKLM\SOFTWARE\Microsoft\Office\15.0\ClickToRun\Configuration" of native registry

Q: exists value "ClientFolder" of key "HKLM\SOFTWARE\Microsoft\Office\15.0\ClickToRun\Configuration" of native registry

Otherwise the syntax looks good to me

I show this patch is superseded. Did you make a copy and modify it at all?
Is the “(group:6428752,action:6428753)” on the same line as the action below or is that from the log?

waithidden {"%22" & value "ClientFolder" of key "HKLM\SOFTWARE\Microsoft\Office\15.0\ClickToRun\Configuration" of native registry as string & "\officec2rclient.exe%22 /update user updatepromptuser=False displaylevel=False updatetoversion=15.0.5023.1000"}

No , This is action group and ID name.

This is the output of fixlet Debuger Second sentex is showing Singular expression refers to nonexistent object. Is it right ?
Q: exists key “HKLM\SOFTWARE\Microsoft\Office\15.0\ClickToRun\Configuration” of native registry
A: False
T: 8124

Q: exists value “ClientFolder” of key “HKLM\SOFTWARE\Microsoft\Office\15.0\ClickToRun\Configuration” of native registry
E: Singular expression refers to nonexistent object.
T: 1236

Yes, that is correct because your key does not exist, and hence neither do related values.

You can use the combination approach outlined below to determine applicability.

if exists key "HKLM\SOFTWARE\Microsoft\Office\15.0\ClickToRun\Configuration" of native registry then if exists value "ClientFolder" of key "HKLM\SOFTWARE\Microsoft\Office\15.0\ClickToRun\Configuration" of native registry as string then "True" else "False" else "False"

OR

exists value "ClientFolder" of key "HKLM\SOFTWARE\Microsoft\Office\15.0\ClickToRun\Configuration" of native registry | False

``
2 Likes

Pluralizing the expression is a very good way to avoid singular expression errors and avoids the error trapping or pre-checks

Q: exists values "ClientFolder" of keys "HKLM\SOFTWARE\Microsoft\Office\15.0\ClickToRun\Configuration" of native registry
A: False
T: 0.055 ms
2 Likes

If this is one of our Fixlets, and it’s superseded, please try deploying the current version of the patch. If it’s not superseded, please open a support ticket so the team can correct the error. If it is a custom Fixlet, your relevance may be falsely detecting or the action script logic is depending on a registry key that doesn’t exist

1 Like