File bag with relative path

Got a problem you cannot solve? Try here.
WKleinschmit
Posts: 7
Joined: Tue Feb 26, 2013 6:24 am

File bag with relative path

Postby WKleinschmit » Fri Aug 14, 2015 8:51 am

Hello all,

Since I have upgraded to version X3, the command "Define File Bag" does no longer work with relative path names.
It worked well in IA18.

While searching this forum for "X3 file bag" I came across this interesting looking article. Unfortunately I do not seem to have authorization to view it in full. But I still concur with it's title.

ALSO, VERY IMPORTANT:
Since "miabuild.exe" is a command line tool it should NEVER EVER display a message box. It did that when announcing it could not find the file for the file bag as described above.
What's worse, it did that on my (unattended) build-agents, effectively halting them indefinitely while waiting for someone to click the OK-button.

FrancescoT
Site Admin
Posts: 5360
Joined: Sun Aug 22, 2010 4:28 am

Re: File bag with relative path

Postby FrancescoT » Fri Aug 14, 2015 10:45 am

Dear WKleinschmit,

which IA X3 version are you using? You can check your version under Add Remove Program in control panel.

If your current version is not IA X3 20.02, could you please try to replace your version with the one currently available?
Unfortunately this will require a full product installation and a new re-generated license file.

For what concerns your notes about the "message box" displayed, as consequence of the file bag error when running the "miabuild.exe".
You are right. In fact such message is issued by the "File Bag" plug-in and not by the "miabuild.exe".

Consequently, it's not possible to skip such messages to appear in the case these are triggered by a plug-in involved with the build process.

Regards
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE

SonoAware01
Posts: 3
Joined: Mon Aug 31, 2015 10:25 am

Re: File bag with relative path

Postby SonoAware01 » Wed Sep 02, 2015 9:46 am

That explains why my build computer is locking up as well.

Is there a way to get the FileBag plug-in to also write to the log file when it fails?

Is there a vendor we can contact to fix the FileBag plugin to not open message boxes when using miabuild.exe?

Thanks,
Tod

FrancescoT
Site Admin
Posts: 5360
Joined: Sun Aug 22, 2010 4:28 am

Re: File bag with relative path

Postby FrancescoT » Thu Sep 03, 2015 11:12 am

Dear SonoAware01,

unfortunately as I said this is currently not possible and honestly, I don't believe it will be "technically" possible.

Due the fact that is not easy to identify the process who calls the Plugin.

Regards
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE

Martin-Stein
Posts: 3
Joined: Tue Dec 22, 2015 4:18 am

Re: File bag with relative path

Postby Martin-Stein » Tue Dec 22, 2015 5:53 am

Hello,

I have also the problem with relative paths, my Verison is 20.05.2015.
The linked articel is also not aviable for me :-(

Kind regards,

Martin Stein

FrancescoT
Site Admin
Posts: 5360
Joined: Sun Aug 22, 2010 4:28 am

Re: File bag with relative path

Postby FrancescoT » Tue Dec 22, 2015 12:08 pm

Dear Martin,

can you please specify the relative path you used?

Such article doesn't exist al all... so I can only suppose of an error with the search engine.

Regards
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE

luapej
Posts: 3
Joined: Tue May 23, 2006 5:22 am
Location: Hogia, Sweden

Re: File bag with relative path

Postby luapej » Mon Mar 14, 2016 8:17 am

Yes, this is my problem as well. Before I had IA 15 and now I have X3, build 1.11.2016.

This how my code looked in IA 15:
Define File Bag : #STAGING FOLDER PATH#\Branches\Licens\Products.ini, get runtime location of files into variable productIniFileFolderPath

I have also tried to exchange #STAGING FOLDER PATH# to it's path, ..\..\LocalStaging
But I'll get this message:
---------------------------
InstallAware File Bag Plug-In
---------------------------
WARNING!
No files matching wildcard pattern ..\..\LocalStaging\Branches\Licens\Products.ini
---------------------------
OK
---------------------------

If I use the absolute path, it work's fine. But it's not an option.

Define File Bag : C:\TFS\Economy\2016.2\Installation\LocalStaging\Branches\Licensavtal\Products.ini, get runtime location of files into variable productIniFileFolderPath

mihai
Posts: 32
Joined: Fri Nov 29, 2013 3:53 am

Re: File bag with relative path

Postby mihai » Thu Apr 09, 2020 5:22 am

Francesco> Honestly, I Always use a relative path with my file bags, as for example "..\AppFile\bin\*.*" and I never had any problem with IA X3.


But you also wrote in another ticket:

Unfortunately, as I said, only "full paths" are allowed.


Which one is it? Relative paths have been reported to work with IA9, but not with X3. I'm using X6 and it's not working. Someone reported it's not working in X7 either, here.

FrancescoT
Site Admin
Posts: 5360
Joined: Sun Aug 22, 2010 4:28 am

Re: File bag with relative path

Postby FrancescoT » Thu Apr 09, 2020 12:02 pm

Unfortunately, there was an error with my reply to this topic and I removed it.

I confirm that this is the correct answer to your question.
https://www.installaware.com/forums/viewtopic.php?t=10428#p39532
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE


Return to “Technical Support”

Who is online

Users browsing this forum: Google [Bot] and 50 guests