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?
-
- Posts: 3452
- Joined: Thu Dec 22, 2005 7:17 pm
- Contact:
I believe that should work. Be sure you used the correct notation for all fields in the command. Try to use a wildcard spec if it fails 

Michael Nesmith
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
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!
-
- Posts: 3452
- Joined: Thu Dec 22, 2005 7:17 pm
- Contact:
I think that field is meant to accept wildcards only, sorry for the inconvenience. I'd try using a spec that matches only that file.
Michael Nesmith
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
-
- 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
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
Who is online
Users browsing this forum: No registered users and 23 guests