Write registry keys to current user rather than admin user that installs the application
Posted on 2016-10-16
I have a c# application that writes registry keys to the current user profile on installation. The company wants to roll out the application use an admin user and so when they run the MSI as that admin user, the registry keys get stored under that profile, rather than the profile that is currently logged in.
How can I fix this?