Hi,
in my setup I add a complete folder (e.g. c:\\config\\*.*) to the msi.
But I'd like to exclude a single file (e.g. c:\\config\\base.cf) because Id like to add this extra to be able to check "Permanent file" and "never overwrite".
So I added "base.cf" to the exclude to the "*.*" entry of the folder added priviously.
But the base.cf is still copied when the folder is copied.
Is this a bug?
Greetings
Harry
How to exclude one file when awhole folder is added --> BUG?
-
MichaelNesmith
- Posts: 3452
- Joined: Thu Dec 22, 2005 7:17 pm
- Contact:
-
binkle
Hi,
it definitely does not work.
Yes, if I but a * before "base.cf" (--> "*base.cf") it works, but then all files ending with ...base.cf are excluded.
You can try with a simple example:
- create a new default project
-add a complete folder (*.*) containing files named: base.cf, test.cf, testbase.cf
- put 'base.cf' in the exclude field and complile
Now can see in the compiler log window that the base.cf file is added.
If you change 'base.cf' to '*.base.cf' in the exclude field only the test.cf is added.
So there is a bug!
it definitely does not work.
Yes, if I but a * before "base.cf" (--> "*base.cf") it works, but then all files ending with ...base.cf are excluded.
You can try with a simple example:
- create a new default project
-add a complete folder (*.*) containing files named: base.cf, test.cf, testbase.cf
- put 'base.cf' in the exclude field and complile
Now can see in the compiler log window that the base.cf file is added.
If you change 'base.cf' to '*.base.cf' in the exclude field only the test.cf is added.
So there is a bug!
-
MichaelNesmith
- Posts: 3452
- Joined: Thu Dec 22, 2005 7:17 pm
- Contact:
-
binkle
-
MichaelNesmith
- Posts: 3452
- Joined: Thu Dec 22, 2005 7:17 pm
- Contact:
I think this field is not meant for single files, so this is by design. I can enter an item into the wishlist to exclude individual files, but usually wildcards are sufficient for most cases.
Michael Nesmith
Install[b]Aware[/b]
[i]Home of The Next Generation MSI Installer[/i]
Get your free copy today - http://www.installaware.com/
Install[b]Aware[/b]
[i]Home of The Next Generation MSI Installer[/i]
Get your free copy today - http://www.installaware.com/

