The application that I am working on has a setting to "launch at windows startup". If this settings is checked, the application will add a registry key value to:
HKCU\Software\Microsoft\Windows\CurrentVersion\Run
My problem is that I can't find anywhere how I can remove a single registry key value. The following would remove all values from this key, which is not what I need:
[RegistryCleanUpForce] 1=HKCU\Software\Microsoft\Windows\CurrentVersion\Run
What I need is something like this, but doesn't seem to work:
[RegistryCleanUpForce] 1=HKCU\Software\Microsoft\Windows\CurrentVersion\Run=NameOfMyApplication
Does anyone know a solution for this?
I believe RegistryValueBackupDelete is designed specifically for this.
Sometimes, the impossible can become possible, if you're awesome!
This did the trick. Thanks a lot!