NSIS 1.98 bug
Have just found a bug in 1.98 - undefining NSIS_SUPPORT_REGISTRYFUNCTIONS in config.h does not prevent from using InstallDirRegKey in scripts, but scripts containing it produce installers that crash on start up.