Page 1 of 1

File bag plug-in fails when output to network share

Posted: Thu Jan 17, 2013 5:14 pm
by LarsS
Hi,

We just upgraded one of our setup projects from IA9 to IA15. (build 12.12.12)
After upgrading it we started getting build errors regarding the "File bag" plug-in for runtimes. The error is along the lines of
"WARNING! No files matching wildcard pattern ....". For example we got it for the "setupnet4aip_x64" script. If we excluded this script we just got the error from one of the other scripts regarding runtimes.

After trying a number of things such as reinstalling IA15, copying script files from the fresh install etc. I found out what the problem is.

Under Project Settings | Output | Custom folder we are using a network UNC such as "\\10.0.1.1\SOMESHARE\Folder". Changing this to a local folder such as "C:\Test\" resolves the problem.
However using the UNC worked in IA9 so I think a bug has been introduced in a later version.

Now that we know the cause we can make a workaround, but I would like to know if you can confirm that this is indeed a problem, and if so is it something you intend to fix? If not that is fine with us, but then please add a comment to the help file stating that only local/"normal" folders can be used and not UNC.

br Lars

Re: File bag plug-in fails when output to network share

Posted: Fri Jan 18, 2013 8:59 am
by FrancescoT
Dear Lars,

honestly, I just tried and with my test environment works fine.

I used a network shared folder for my output folder as; "\\DEBUG-X64X4\testbuild".

I used the last available IA 15 update (ver. 15.2.3 build; 1.2.3) ... but I don't believe this makes any difference.

Regards

Re: File bag plug-in fails when output to network share

Posted: Fri Jan 18, 2013 10:45 am
by LarsS
Thanks for a quick reply.

Your reply made me consider what I might have forgotten about. Turns out that anti-virus was the cause. We had the IA9 miabuild.exe listed as an "Excluded process" but forgot to add the IA15 one after installing it on our build machine. Bummer :(

However, making the change to first output to a local folder and then copy the files to the server gave a speed increase of about 10% so I will leave that in. So at least something good came out of it :-)

Note: In general excluding the IA .exe files from real-time antivirus protection gives a considerable speed increase. Might be worth mentioning in the help file. Expecially now where Win8 has AV installed and on as default.

Sorry for the inconveniance.

br Lars

Re: File bag plug-in fails when output to network share

Posted: Fri Jan 18, 2013 11:52 am
by FrancescoT
No problem, I'm happy that you solved.

Regards