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?

4

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.

| improve this answer | |
  • Ending all explorer.exe processes and starting it again did not do it for me. Had to restart the whole Windows. – bugybunny Oct 23 '19 at 12:56
1

there's also a script for that

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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