Empty folder causes Build error

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

Empty folder causes Build error

Postby ncgjka » Thu Mar 09, 2006 3:22 am

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:

Postby MichaelNesmith » Thu Mar 09, 2006 3:56 am

Did you actually check the "Include subfolders if wildcards used" box on the Install Files dialog?
Michael Nesmith
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/

ncgjka
Posts: 7
Joined: Thu Mar 09, 2006 3:13 am

Postby ncgjka » Thu Mar 09, 2006 3:59 am

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:

Postby MichaelNesmith » Thu Mar 09, 2006 12:25 pm

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

InstallAware

Home of The Next Generation MSI Installer

Get your free copy today - http://www.installaware.com/

ncgjka
Posts: 7
Joined: Thu Mar 09, 2006 3:13 am

Postby ncgjka » Fri Mar 10, 2006 4:16 am

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


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 177 guests