bross123
5th November 2008 15:50 UTC
Missing right click option "Compile NSIS script"
I've got Vista 32 Ultimate. NSIS was working fine until I associated the opening of an .nsi file with note pad. Now the "Compile NSIS Script" option on the right-click context menu has disappeared.
Any ideas on how to create this would be appreciated.
The registry entry would be very helpful.
I've tried uninstalling and reinstalling NSIS several times - no help.
Thanks.
Animaether
5th November 2008 18:41 UTC
try re-associating .nsi with NSIS.Script;
[HKEY_CLASSES_ROOT\.nsi]
@="NSIS.Script"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.nsi]
@="NSIS.Script"
With any luck you should still have the NSIS.Script descriptor;
[HKEY_CLASSES_ROOT\NSIS.Script]
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\NSIS.Script]
And maybe...
[HKEY_USERS\<user id stuff here>\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.nsi\OpenWithProgids]
"NSIS.Script"=hex(0):
bross123
9th November 2008 13:10 UTC
I tried everything in your email but it all looks good. Just no right click option. Any other ideas would be greatly appreciated.
Thanks
Animaether
10th November 2008 00:53 UTC
Try this, then.. in any Explorer (windows explorer) window, go to...
Tools -> Folder Options -> |File Types|
In the list, select the NSI file type.
( If it doesn't exist, press the [New] button, enter NSI as the extension, press OK )
Press the [Advanced] button.
Look for the "Compile NSIS Script" action in the Edit File Type:Actions list. If you don't see one, create one by pressing the [New...] button, otherwise press the [Edit...] button.
The application opening the file would be:
"c:\full path to\makensisw.exe" "%1"
(
For "Compile NSIS Script (Choose Compressor)", it is:
"c:\full path to\makensisw.exe" /ChooseCompressor "%1"
)
Both are set to 'Use DDE', the Application is 'makensisw' and the Topic is set to 'System'.
After setting that, the options should be available again as well.
bross123
10th November 2008 14:00 UTC
Sorry - no File Types option in Vista. What a mess.
pengyou
10th November 2008 18:24 UTC
Try using Vista's HELP facility.
When I entered the phrase file association Vista reported the best 30 results and the very first result was Change the program that opens a type of file.
This explained "You can change this setting for an individual file, or you can tell Windows to open all files of that same type in the software program you choose." and gave step-by-step instructions.