Strange SetupCopyOEMInf behavior

Hi,

I have a WHQL signed mouse filter driver. I copy the inf, sys and cat files to the system and call SetupCopyOEMInf with the path to the inf and the SPOST_PATH option.

This works fine on Vista. On XP the unsigned driver warning pops up. If I click yes it copies the file but it is no longer signed. If I do a manual update to the original inf file it says its signature is valid.
What would cause SetupCopyOEMInf to not maintain the signature?

Any ideas?

Thanks,
-Dan

In case anyone else has the same problem, it was because I was using a relative path to the inf instead of full path.