I have a program file. And I want to add this program into Control Panel Programs like this:
How can I do that with C# code or cmd ?
I have a program file. And I want to add this program into Control Panel Programs like this:
How can I do that with C# code or cmd ?
To add an entry to that list, you need to create a subkey in the registry. Go to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\
and check the entries there. Basically you need to create a key with a GUID as the name and below that a set of values, the most important being DisplayName
and UninstallString
.