View Single Post
Old 4th June 2013, 14:30   #1
Junior Member
Join Date: Jun 2013
Posts: 5
Unhappy NSIS Registry Key Overwriting Default Open In Context Menu

Hey everyone,

I know this is probably an easy fix , but I'm having some trouble with it. I create a couple keys so that when someone right clicks on a directory OR file my program shows up in the options. When you click the program option then the program is launched. Easy.

The problem is that these keys that I'm creating are making it so when I double click on a direcotyr or file that it launches my program. It is the default option for dealing with directorys/files instead of 'Open'. I would like it just to be like the 2nd or 3rd option or something after Open or Open in New Window.
Here is an example of my line of code:
WriteRegStr HKCR "Directory\shell\Context Menu Line\command" "" '"C:\\TestProgram.exe" "%1"'

Any help would be greatly appreciated.

pspjhp is offline   Reply With Quote