<div dir="ltr">Hi,<div><br></div><div>My CMake file contains the install comands like this </div><div><br></div><div>install(TARGETS MyExe RUNTIME DESTINATION .)<br></div><div><br></div><div>When I use the standard NSIS template, the installer is created with "MyExe". But our project needs a custom NSIS template so I have written one, and it is generating an installer *without* MyExe.</div>
<div><br></div><div>So I made a comparison between my nsis template and the standard one.</div><div><br></div><div>The one big difference I found is the presence of </div><div><br></div><div><div>@CPACK_NSIS_EXTRA_PREINSTALL_COMMANDS@<br>
</div><div> @CPACK_NSIS_FULL_INSTALL@</div></div><div><br></div><div>after the SetOutPath "$INSTDIR" command. These above two variables seems to be undocumented. </div><div><br></div><div>When the standard nsis template is processed, these lines are changed to </div>
<div><br></div><div>File /r "${INST_DIR}\*.*"</div><div><br></div><div>I am struck at this point, how can I make my install targets command work? Any hint or documentation would be greatly appreciated.</div><div>
<br></div><div>Thanks,</div><div> Lloyd</div></div>