I want to use Visual test to check that all the registries match a .reg file. It appears that this can be done with RegistryCompareFile. The problem is that it gives me a False return value when I use it to compare expand_sz types that appear correct.

Is there a special format that I need to use to declare the expand_sz in the reg files? I use the export feature in the registry to get the reg file and the expand_sz values appear as a group of hex numbers. I tried replacing that with the text that actually appears and it still gives me a false value.

I see in the help files that other registry functions will only return REG_SZ AND REG_DWORD. Does anyone know if RegistryCompareFile will only work with those two types also?

Any ideas, suggestions?