( /* Check if updates are disabled for Skype = version 6.5 */ ((version of file (value “SkypePath” of key “Phone” of it as string) >= “6.5”) AND (not exist key “Installer” whose (value “InstallUpdates” of it = 0) of it))) of key “HKLM\Software\Skype” of registry
Then I put the version check first, then check for the specific way to disable updates for that version immediately after, so it would only check if updates are disabled in the correct location for that version, instead of checking for if updates were disabled first, which is redundant if the wrong version is installed: * Only relevant if skype is installed */ exists file ((value “SkypePath” of key “Phone” of it as string) of key “HKLM\Software\Skype” of registry) Relevance #6 also depends on an actual file existing that correlates with the “SkypePath” in the registry to do a version check, which I broke out as the following: * Only relevant if skype is installed */ exists key “HKLM\Software\Skype” whose(exists key “Phone” of it AND exists value “SkypePath” of key “Phone” of it) of registry
I broke this dependency out as a separate check. I broke apart Relevance #6 in the current one in “Updates for Win Apps” into 3 separate checks to simplify each statement.Ĭurrently Relevance #6 depends on the existence of the key “HKLM\Software\Skype\Phone” and the value “SkypePath” of it.