Skip to content
⌘ NSIS Forum Archive

exclude file in 'File'-command

3 posts

Anders Hydén#

exclude file in 'File'-command

HI,
I want to copy all files in a folder but one specificially group. Like this line that is not accepted:

File /r C:\UTV\DF191\Marin\Programs\*.* /x DataFlex*.exe

1. Why does this not work?
2. Can I put several lines with different File-commands?
3. Should the full path always be included?

The examples are all without a full path. That's a pitty...

Regards
Anders
Anders#
/x switch needs to come before the final path?

The path is relative to your .nsi file, relative or absolute path is up to you.