add winreg dependency