Skip to content
⌘ NSIS Forum Archive

Install folder operations

3 posts

GFORCE100#

Install folder operations

Lets assume the default install folder is C:\xxx

This would imply that InstallDir is set to C:\xxx

Now in most cases within an installation folder we normally need sub-folders to store things like program documentation, help files etc.

How would one tell the installer to copy file(s) or a whole directory over to say C:\xxx\Help???

The NSIS manual is confusing, not sure if I understand what it's saying.
SmilingBandit#
SetOutPath "$INSTDIR\Help"
File /r "$PATH_TO_HELP_FILES\*.*"
SetOutPath "$INSTDIR"
I use something similar to install help files in my own installer.