Skip to content
⌘ NSIS Forum Archive

packaging executables with NSIS

3 posts

dizou#

packaging executables with NSIS

I have an NSIS script that will run a few executables. Once I compile the NSIS script and run it, if the executables are in the proper location, the NSIS installer works fine.

However, if I delete the executables or move the installer to another directory, the installer doesn't know about the executables anymore and the installation fails.

Is there a way to package the executables with the installer? This way I don't have to copy the executables along with my installer to whatever directory I want to run the installer from. This way I can just move my installer around.
MSG#
Yes, that's what the File command is for. See the manual: http://nsis.sourceforge.net/Docs/Chapter4.html#4.9.1.5