Archive: NSIS 1.4


Current version: 1.4 (4/29/01) | (382kb)
============================================
v1.4:

- Made RegDeleteKey delete recursively, even on win2k. Thanks to Tim Kosse.

- Made ExecWait set the error flag if the program executed returns a nonzero return value.

- Made ExecWait run message pump for WM_PAINT messages while executing, and no longer show/hide the main window when done.

- Fixed one small InstType /NOCUSTOM bug

- Made BGBG faster (from Drew Davidson)

- Added $HWNDPARENT variable (decimal value of the hwnd of the installer)

- Added "Splash" utility (see splash.txt)

- Added !cd compiler command

============================================

NSIS webpage: http://firehose.net/free/nsis
Download 1.4: http://firehose.net/free/nsis/nsis14.exe

Enjoy. :D

-- Jarsonic


Hi,

It is nice to delete RegKeys recursively, but
what if you don't want to do this?
Since there is no way to detect if any subkeys
exist, I misused RegDeleteKey. It simply failed
in the case there are any subkeys.

May I siggest to make it optional? I would expect
RegDeleteKey [/r] ... just like RMDir or File is implemented.

Locutus123


That technique would not work in Win9x anyway :)

-Justin


Hi Justin,

since the above discussion hits the same topic as my request here, I am reposting it here:

I need functions to check if subkeys and/or values exist in a registry key. A more complicated nice-to-have thing would be a command to get a list of subkey/value names, so I would like commands like
RegSubkeyNames
RegValueNames
RegSubkeysExist
RegValuesExist
Also I would like some way to access the lists :-)
Is there a way to implement a for loop with the currently implemented commands?


Snowbird