Adding a registry file problem

I basically have a service which depends on another service and this service only exists on Vista.

I thought I would use the reg.exe to create the registry file, for dependencies, this works perfectly when I run from command line manually, but in installshield it just doesn't do anything no errors nothing.