FB7 and PropertySet->Assign->ProductVersion problem

Hello,

I have problem with FB script. It has two elements:

1. PropertySet assign properties action

In this action ProductVersion and ProductVersionString are set to value: %DaneWersji.MajorVersion%.%DaneWersji.MinorVersion%.%DaneWersji.ReleaseVersion%

In Build log this is shown as: 

PropertySet assign properties [ DaneWersji ]
Status: Completed
Date: 2010-11-15
Time: 22:12:30:390
End: 22:12:30:390
Duration: 00:00:00:000

Action Messages:
Setting 10 property values on PropertySet DaneWersji
Property BuildVersion set to 1859
Property CompanyName set to P.U.K. i T. GIDEX Sp. z o.o.
Property FileDescription set to Kalkulator taryfowy
Property InternalName set to KalkulatorTT
Property LegalCopyright set to Copyright (c) 2006-2010 GIDEX Sp. z o.o.
Property LegalTrademarks set to
Property OriginalFilename set to KalkulatorTT
Property ProductName set to Kalkulator taryfowy
Property ProductVersion set to 2.1.0
Property ProductVersionString set to 2.1.0

 

This is ok - product version is 2.1.0

 

2. The next action in script is PropertySet log current values. In Build Log are visible following values:

PropertySet log current values [ DaneWersji ]

Status: Completed

Date: 2010-11-15
Time: 22:12:30:421
End: 22:12:30:484
Duration: 00:00:00:063

Action Messages:
Property AutoUpdateFileVersionString is set to True
Property AutoUpdateProductVersionString is set to True
Property BuildVersion is set to 1859
Property CompanyName is set to P.U.K. i T. GIDEX Sp. z o.o.
Property DebugBuild is set to False
Property DLL is set to False
Property FileDescription is set to Kalkulator taryfowy
Property FileVersionString is set to
Property IncludeCompileDate is set to True
Property InternalName is set to KalkulatorTT
Property LegalCopyright is set to Copyright (c) 2006-2010 GIDEX Sp. z o.o.
Property LegalTrademarks is set to
Property LinkProductVersion is set to True
Property MajorVersion is set to 2
Property MinorVersion is set to 1
Property OriginalFilename is set to KalkulatorTT
Property PreReleaseBuild is set to False
Property PrivateBuild is set to False
Property ProductName is set to Kalkulator taryfowy
Property ProductVersion is set to 2.1.0.1859
Property ProductVersionString is set to 2.1.0
Property ReleaseVersion is set to 0
Property SpecialBuild is set to False
Property SpecialBuildDetails is set to


Whats going on? Why now ProductVersion has 2.1.0.1859 value? I think it is a bug - in FB 6.3 this works correctly.
 

-- 

best regards

Adam Siwoń

 

 

That is because the LinkProductVersion property is set to true (the default). This is a change from FB6 as it results in more correct behavior for most users.

 

Thank you for information. If LinkProductVersion is set to False everything works correctly.

best regards

Adam Siwoń