I’m trying to pull out the “uninstallstring” values from the registry on similarly named software.
I can get the uninstall string results, but I also get the “%00” percent. I tried the "preceding text of last “%00”, but it only gives a singular result, not plural.
Q: (values “uninstallstring” of keys whose ((exists value “displayname” whose (it as string as lowercase contains “example”) of it)) of key “HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall” of registry as string)
Q: preceding text of last “%00” of (values “uninstallstring” of keys whose ((exists value “displayname” whose (it as string as lowercase contains “example”) of it)) of key “HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall” of registry as string)
I did cheat a little, I did not try it with your full phrase, I just did this:
q: preceding texts of lasts “%00” of (values “uninstallstring” of keys of key “HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall” of registry as string)
q: preceding texts of lasts “%00” of (values “uninstallstring” of keys whose (exists value “displayname” of it and value “displayname” of it as string contains “Adobe”) of key “HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall” of registry as string)
I thought I messed up with the “preceding texts…” but it was in the "…as string contains “example” it didn’t like my lack of Capitlization. I changed it to “as string as lowercase contains”