(imported topic written by mpainter)
I am attempting to set the Compatibility Flag for various Active X controls. My relevance appears to be correct, but my action is not working. I have tried the action with the “” and without them. No luck. Any help would be greatly appreciated.
not exists 1 whose (((conjunction of (if exists key “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer \ActiveX Compatibility{40F23EB7-B397-4285-8F3C-AACE4FA40309}” of it then (if exists values “Compatibility Flags” of it then ((it as integer) of (it as string) of it = (it as integer) of “1024”) of values “Compatibility Flags” of it else false) of key “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\ActiveX Compatibility{40F23EB7- B397-4285-8F3C-AACE4FA40309}” of it else false) of (if x64 of operating system then (x32 registry; x64 registry) else x32 registry) or not exist values “Compatibility Flags” of keys “SOFTWARE\Microsoft\Internet Explorer\ActiveX Compatibility{40F23EB7-B397-4285-8F3C-AACE4FA40309}” of keys “HKEY_LOCAL_MACHINE” of (if x64 of operating system then (x32 registry; x64 registry) else x32 registry)) and (exist values “Compatibility Flags” of keys “SOFTWARE \Microsoft\Internet Explorer\ActiveX Compatibility{40F23EB7-B397-4285-8F3C-AACE4FA40309}” of keys “HKEY_LOCAL_MACHINE” of (if x64 of operating system then (x32 registry; x64 registry) else x32 registry) and (exist values “Compatibility Flags” whose (type of it = “REG_DWORD”) of keys “SOFTWARE\Microsoft\Internet Explorer\ActiveX Compatibility{40F23EB7-B397-4285-8F3C-AACE4FA40309}” of keys “HKEY_LOCAL_MACHINE” of (if x64 of operating system then (x32 registry; x64 registry) else x32 registry) or not exist values “Compatibility Flags” of keys “SOFTWARE \Microsoft\Internet Explorer\ActiveX Compatibility{40F23EB7-B397-4285-8F3C-AACE4FA40309}” of keys “HKEY_LOCAL_MACHINE” of (if x64 of operating system then (x32 registry; x64 registry) else x32 registry)))))
waithidden “{pathname of system folder}\reg.exe” add “” /v “Compatibility Flags” /t REG_DWORD /d 1024 /f
if {x64 of operating system}
waithidden “{pathname of system folder}\reg.exe” add “” /v “Compatibility Flags” /t REG_DWORD /d 1024 /f /reg:64
endif