3

I associated .nsi files with a text editor recently, and as a result lost all of the special NSIS context menu options for, eg., "Compile NSIS Script". How can I get them back?

ladenedge
  • 525

2 Answers2

5

Thanks to a post on the NSIS forums, I learned that when you associate a file extension manually, Explorer creates a registry key that overrides the system settings for that extension. In the case of NSIS files, this key is:

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts.nsi

If you delete that key, you will lose your text editor association but regain the context menu items after restarting Explorer.

ladenedge
  • 525
1

there's also a script for that

idleberg
  • 1,392