Create Registry Value In Local Machine Using C#
- by Robert
I'm trying to save an install path to the registry so my windows service will know where my other application was installed.
I'm using visual studio's deployment to create a registry value in HKEY_CURRENT_USER, but my windows service which runs under LocalMachine doesn't have access to that. I then made the installer create a registry value in HKEY_LOCAL_MACHINE, but when I view the registry after the install it appears it never made the value. Any ideas?