NSIS support assigning an icon to the package to show in the "add/remove programs" list.
This icon can be assigned with the CPACK_NSIS_INSTALLED_ICON_NAME variable. NSIS will use the first icon resources of the given file.
This variable only support executable. It does not support dll. In other words, even if we have an icon resource assigned to our dll, NSIS won't pick up this icon. An dummy executable should be created to "host" the icon and then we will be able to point CPACK_NSIS_INSTALLED_ICON_NAME to this executable.