Old 11th May 2007, 12:48   #1
harrykoma
Junior Member
 
Join Date: May 2007
Posts: 2
Right click context menu and file extension

Hi,

I'm adding a menu option to a certain file extension, like this:
WriteRegStr HKCR "Collada\shell\Export to Madlix\command" "" '"$INSTDIR\${PRODUCT_NAME\Exporter.exe" "%1"'

which works great, when the user right clicks on a Collada-file "Export to Madlix" is visible.

However, I would like to have an icon next to the text as well, but I can't seem to find any info on how to achieve this.

Any regedit-haxxors out there?
harrykoma is offline   Reply With Quote
Old 12th May 2007, 08:29   #2
Red Wine
Forum King
 
Red Wine's Avatar
 
Join Date: Mar 2006
Location: Ath. GR
Posts: 2,078
I guess reviewing how others have done that (winrar for instance) should be an easy guide.

Quick AVI Creator - Quick and easy convert from DVD/MPEG/AVI/MKV to AVI/MP4/MKV
Quick AVI Creator entirely edited with NSIS and entirely upgraded to Unicode NSIS
Red Wine is offline   Reply With Quote
Old 12th May 2007, 19:16   #3
Anders
Moderator
 
Anders's Avatar
 
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,449
You can't do that with a simple registry string, you need to write a shell exstension that implements IContextMenu

IntOp $PostCount $PostCount + 1
Anders is offline   Reply With Quote
Old 16th May 2007, 07:15   #4
harrykoma
Junior Member
 
Join Date: May 2007
Posts: 2
Quote:
Originally posted by Anders
You can't do that with a simple registry string, you need to write a shell exstension that implements IContextMenu
Thank you for your reply. That made things clearer.
harrykoma is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump