Incorrect version info on Delphi Build project using "Run Selected Actions And Children"

Hello:

I'm using Finalbuilder 7.0.0.3135 with Windows 7 Professional SP1 and Delphi XE6.

I have a project involving several Delphi compile nodes.

I noticed a problem in the version information and other details of the compiled EXE.

I put version info as shown in http://help.finalbuilder.com/Index....action.htm

15736_versioninfo

I put a breakpoint just after the Delphi build to stop the process after de EXE creation.

15736_breakpoint

I select all the needed nodes int the main action list and selected "Run Selected Actions And Children". Please note that ALL the nodes up to the desired one are selected.

After the successfull build, I get the application with the wrong version info as shown.

If, instead of using "Run Selected Actions And Children", I use the "Run" option (that in fact runs all the same previously selected action nodes)

15736_run


the version info is correct as shown.

We need to run partial compilations some times and this bug is a problem because we need to be checking and unchecking every sub node to use “Run” instead of simply choose the right nodes and run only those ones.

Please, if you need more info, just let me know.

Regards...

Pablo.

This document has been composed with the free HTML converter which can be accessed here. Use it every time for document editing.

Hi again:

I’d like to add the following information: for seting all the version info (copyright, version info, description, etc.) whe use a Global Project script that is called in every action node in the VBScript BeforeAction.

The global script is the following one:

sub SetProductVersionAndDescription(aVersionInfoBase, aProductSuiteName, aDescription)
    aVersionInfoBase.ProductName = aProductSuiteName + " " + aDescription
    aVersionInfoBase.FileDescription = aDescription
end sub


And the call in the BeforeAction (for the compiled application of this report) is:

        SetProductVersionAndDescription VersionInfoBase, SierraSuiteName, "Component Manager"


May be the bug is that in the “Run Selected Actions And Childrens” the BeforeAction rutine may not being called while the “Run” option executes it.

Regards…

Pablo.

Sorry, that can’t be the problem because te version number is assigned to a global variable in a previous action node.

That script is only for the application description that changes from one build action to the next.

We really need to see your project file to be able to figure this one out. Also, please either post here on send us an email, not both. That avoids us duplicating support work (not realising it was cross posted).