Empty folder causes Build error

Got a problem you cannot solve? Try here.
Post Reply
ncgjka
Posts: 7
Joined: Thu Mar 09, 2006 3:13 am

Empty folder causes Build error

Post by ncgjka »

I have a treestructure defined in my TARGETDIR

-FolderA
----FolderB
----FolderC

When I build my project I get an error saying
"Error during build: No files matching pattern ..\\..\\FolderA\\*.*"

The FolderA happens to be empty, only has the subfolders which contain files. If i add a "dummy" file Text.txt in FolderA the Build works!

Is there any other way around this problem, I do not want to have the dummy file in the folder.
MichaelNesmith
Posts: 3452
Joined: Thu Dec 22, 2005 7:17 pm
Contact:

Post by MichaelNesmith »

Did you actually check the "Include subfolders if wildcards used" box on the Install Files dialog?
Michael Nesmith
Install[b]Aware[/b]
[i]Home of The Next Generation MSI Installer[/i]
Get your free copy today - http://www.installaware.com/
ncgjka
Posts: 7
Joined: Thu Mar 09, 2006 3:13 am

Post by ncgjka »

Yes, I checked that option. But the problem is that the FolderA does not contain any files. If I add the dummy "Text.txt" file in the source FolderA it works. It seems the compiler does not like empty folders...?
MichaelNesmith
Posts: 3452
Joined: Thu Dec 22, 2005 7:17 pm
Contact:

Post by MichaelNesmith »

I tried this as you described - created two folders inside an empty folder - and placed a file inside one of the subfolders. It worked just fine, so I don't know what's wrong at your end, sorry.
Michael Nesmith
Install[b]Aware[/b]
[i]Home of The Next Generation MSI Installer[/i]
Get your free copy today - http://www.installaware.com/
ncgjka
Posts: 7
Joined: Thu Mar 09, 2006 3:13 am

Post by ncgjka »

Ok. I'll see if I can figure iy out.. Must be some wierd mismatch somewhere. Thanks anyway!
Post Reply