Old 25th February 2021, 01:11   #1
Junior Member
Join Date: Feb 2021
Posts: 1
Basic Directory addition help

Hey all,
I am new to creating the installer, not to scripting.
However I can't seem to figure out how to add a sub directory to my nstall script with additional reference files in the subdirectory.
Under my install section I can ad flies with:
file "myfile.ext"
But what's the command for adding a directory?
I tried:

Nothing seems to be working.
Thanks for any ideas.
NewInstaller is offline   Reply With Quote
Old 25th February 2021, 01:49   #2
Anders's Avatar
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,539
File /r "c:\something\*"

If you can't take the time to read the manual you are going to run in to a lot of issues like this, it is better to just take 10 minutes and quickly scan through it...

IntOp $PostCount $PostCount + 1
Anders is offline   Reply With Quote
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump