Archive: Picking external file while installing


Picking external file while installing
I want to know how can I install a file that is in the same folder as the installer (setup.exe) and install it to my desired location.


Well if you know the file your after is going to be in the same folder as your installer, then you could just add a CopyFiles command to one of your sections.


CopyFiles "$EXEDIR\file.txt" "$PROGRAMFILES\MyProg"