Page 1 of 1

Bug: return from include script broken in batch build

Posted: Thu Dec 01, 2016 7:36 am
by Damien
Tests:

  • InstallAware X5 -build 8.4.2016
  • windows 10 - 1607

This is a simple project sample (one drive): https://1drv.ms/u/s!Aow6Mhpjb5xisXrmJTSUcsAA_ROH

It contains a readme.txt with detailed informations, but I ll give some here for future readers:

I founded a very strange bug with the return from include script function.
In some conditions,the function is not fired : no value returned, and code after the function is executed.
Conditions:
  • Nested include scripts (more than one level)
  • Build by command line (=/= build inside IDE)

The "strange" thing is it occurs only when command line build...
Bug occurs when there is nested scripts (more than one level: mainScript-script1-script2(fail)), also if you have disabled code by commenting it or with compiler var...

So the trick is to instanciate a var in the included script and call this var in parent script, and not use return with values.

I want to focus IA team on differences with IDE build and command line build, not the first time I face to it, detailed on this previous topic.

Re: Bug: return from include script broken in batch build

Posted: Thu Dec 01, 2016 1:29 pm
by FrancescoT
Let me check and I'll let you know.

Thanks for now.

Regards

Re: Bug: return from include script broken in batch build

Posted: Tue Dec 06, 2016 6:31 am
by FrancescoT
Dear Damien,

this should be fixed now.
https://www.installaware.com/forums/viewtopic.php?f=2&t=10831

Many thanks for reporting this to us.

Regards

Re: Bug: return from include script broken in batch build

Posted: Wed Dec 07, 2016 9:05 am
by Damien
Nice job, happy to be helpful to IA :)

Is it possible to have some information about differences between IDE vs Command line build?
It may help me to investiguate on my previous problem of plugin working when build by IDE and not in command line (only on patch builds).

I have an other question, when do you plan te release a new major version of IA? I m working on a big project, and we ll rebuy IA (studio) in few weeks, but we may wait for next release if few month.
Thanks!

Re: Bug: return from include script broken in batch build

Posted: Wed Dec 07, 2016 12:53 pm
by FrancescoT
Dear Damien,

there are no differences with the build process. The IDE uses the command line tool to build a package.

For now, there are no news about a possible next major version.

Regards