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?
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:
If you delete that key, you will lose your text editor association but regain the context menu items after restarting Explorer.
there's also a script for that