grip003
Regular
This is probably answered somewhere already, but I was unable to locate what I needed. I want to have my application start when booted, and I do this by putting a registry value in the Software-Microsoft-Windows-CurrentVersion-Run. Right now, I always put this value under HKEY_LOCAL_MACHINE but I want it to go there only if the user selected to install my application for everyone. If they selected to install only for the current user, then I want this key to be added in the HKEY_CURRENT_USER. How can I base this on the users selection?