if (CONCATENATION “|” of NAMES OF VALUES OF KEY “HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\Tcpip\Parameters” OF REGISTRY AS STRING AS lowercase CONTAINS “searchlist” as lowercase) THEN parameter “CurrentList” = “{VALUE “SearchList” OF KEY “HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\Tcpip\Parameters” OF REGISTRY AS STRING}” & “,”
I think the best way to figure this out is to change “move __createfile setup.reg” to move the file to a well-known location, like “C:\debug_setup.reg”. Then, after the action has run, you can look at C:\debug_setup.reg to see what’s actually being passed to the regedit tool.
Apparently the parameter is not being set from the query to the registry.
if (CONCATENATION “|” of NAMES OF VALUES OF KEY “HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\Tcpip\Parameters” OF REGISTRY AS STRING AS lowercase CONTAINS “searchlist” as lowercase) THEN parameter “CurrentList” = “{VALUE “SearchList” OF KEY “HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\Tcpip\Parameters” OF REGISTRY AS STRING}” & “,”
parameter “CurrentList” = “{if exists value “searchlist” whose ( it as string != “” ) of key “HKLM\SYSTEM\CurrentControlSet\services\Tcpip\Parameters” of registry then value “searchlist” whose ( it as string != “” ) of key “HKLM\SYSTEM\CurrentControlSet\services\Tcpip\Parameters” of registry as string & “,” else “”}”