garrett01001
26th October 2005 01:09 UTC
Right click on file menu..
When my program is installed with the .exe that NSIS made I want to add an option to the menu when you right click on any file (not folders, just files) that when clicked it opens my program and passes the file path to the program..
Is there any way to do this?
Instructor
26th October 2005 06:10 UTC
You need to write special module. For example "WinRAR" have RarExt.dll
Registry:
HKEY_CLASSES_ROOT\*\shellex\ContextMenuHandlers\WinRAR "" "{B41DB860-8EE4-11D2-9906-E49FADC173CA}"
HKEY_CLASSES_ROOT\CLSID\{B41DB860-8EE4-11D2-9906-E49FADC173CA}\InProcServer32 "" "C:\PROGRAM FILES\WINRAR\rarext.dll"