" “PostBuildModuleCount”=dword:(((value “PostBuildModuleCount” of key “HKEY_LOCAL_MACHINE\SOFTWARE\BigFix\PatchVersion\BlockPoint” of registry) as integer )+1)
runs without an error in the action debugger but the registry value “PostBuildModuleCount” does not get updated.
The debugger doesn’t check the minutia of the regset command for errors… it’s just looking at the general structure. For instance, you can put whatever text you want after the dword: and it will still work.
The main problem with your command is that you are using () instead of {} for the Relevance substitution. You probably want this:
" “PostBuildModuleCount”=dword:{((value “PostBuildModuleCount” of key “HKEY_LOCAL_MACHINE\SOFTWARE\BigFix\PatchVersion\BlockPoint” of registry) as integer )+1}
Trying to come up with a way to take a sting that is hex numbers and do some math to it. “ff” as hexidecimal returns 6666 not 255 I understand why f has a value of 66 but want it to have value of 15.