For educational purposes, I'm developing a simple App in WPF using C#.
The App will be distributed without using the Install Shield Wizard, especially when it is launched for the first time it must be able to configure the system registers for an App entry to appear in the Windows Explorer drop down menu.
I roughly understand that I have to change the system registers (regedit.exe) but I have not clear three things:
which registers should I change and how?
how the App can cheks that this entry in the system logs is already there? And eventually add it programmatically if it is missing?
how do I associate a functionality (class or function) between the App and a click on the drop-down menu item? (I have a rough idea that you should use command line arguments, but how do that?)