Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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?

share|improve this question
add comment

2 Answers

there's also a script for that

share|improve this answer
add comment
up vote 1 down vote accepted

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.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.