Mike007
22nd January 2002 20:37 UTC
Add right click menu item?
I thought I saw a thread related to this, but can't seem to find it.
I would like to add a right click menu item for certain file types. So when the user right clicks on this file they have the option to launch my app with this file name. Is this possible with NSIS?
Thanks,
Mike
F. Heidenreich
22nd January 2002 20:44 UTC
Yes, have a look at the makensis.nsi in the NSIS program directory. This script shows how to add a context-menu entry for .nsi files.
~ Florian
Mike007
22nd January 2002 21:56 UTC
Icon?
Great, that will help out a lot.
Any idea how to add an icon beside the menu item? I see that there is a "DefaultIcon" section though it doesn't seem to show an icon for makensis.exe.
Thanks for the help.
Mike
F. Heidenreich
23rd January 2002 05:43 UTC
Adding an icon to a context-menu could only be done by a shell extension DLL. Have a look at this thread for some links concerning this topic.
~ Florian
dbareis
24th January 2002 06:49 UTC
Originally posted by F. Heidenreich
Adding an icon to a context-menu could only be done by a shell extension DLL. Have a look at this thread for some links concerning this topic.
~ Florian
Hi,
I think you meant "should" above as you can set an icon in the registry. As for the article, while the author obviously thinks he has everything covered, he fairly obviously doesn't. The only thing he has covered is nested installs/uninstalls (that is last installed, first uninstalled etc), a rare event, at least on my computer... Basically there is nothing you can do to ensure a problem free uninstall...
Bye
Dennis