Hey all,

I'm working on a C# application for image uploading, everything is going great but the only thing that I can't really figure out is how to add registry entries.

I need to add an extra item to the windows context menu during the setup/initial run of the application (preferably during setup).

I need to add several keys for certain file-extensions under the HKEY_CLASSES_ROOT.

I could do this every time the application is ran, but that would not be performant. It would also require the application to be ran as an administrator. The setup of an application always requires administrator privileges so it would be cool if I could add some sort of class to run during installation.

I have already looked into an installer class and all but Im really newb in making setup/deployment project so if any of you could guide me in the right direction.

Basicly what I need is:
-During setup registry entries must be made (And I also need the location of where the application is installed so a .reg file is a no-go unless I can pass arguments to it).

Thanks for the future help :-)
Whoo
Whoo Reviewed by Whoo on . [C#] Need help adding registry entries during setup Hey all, I'm working on a C# application for image uploading, everything is going great but the only thing that I can't really figure out is how to add registry entries. I need to add an extra item to the windows context menu during the setup/initial run of the application (preferably during setup). I need to add several keys for certain file-extensions under the HKEY_CLASSES_ROOT. I could do this every time the application is ran, but that would not be performant. It would also Rating: 5