Skip to content

CPack/NSIS: Fix preinstall section

Ghost User requested to merge (removed):fix/cpack_nsis_preinstall into master

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.

Merge request reports