The source project of this merge request has been removed.
CPack/NSIS: Fix preinstall section
At current time commands from CPACK_NSIS_EXTRA_PREINSTALL_COMMANDS
ignored Component sections
, which are also part of the installation process.
For example: when needed to kill process silently before coping files in case of installer without components will executed fine. But if installer support components, commands will be executed only after an attempt to coping components files, which might be useless.
This fix solve this problem.