# FB7 and PropertySet-&gt;Assign-&gt;ProductVersion problem

**URL:** https://www.finalbuilder.com/forums/t/fb7-and-propertyset-gt-assign-gt-productversion-problem/1644
**Category:** Discussion
**Created:** [November 15, 2010, 8:27am UTC](https://www.finalbuilder.com/forums/t/fb7-and-propertyset-gt-assign-gt-productversion-problem/1644 "2010-11-15T08:27:11Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![traptak](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/t/dec6dc/32.png) [@traptak](https://www.finalbuilder.com/forums/u/traptak)
#### Post date: [November 15, 2010, 8:27am UTC](https://www.finalbuilder.com/forums/t/fb7-and-propertyset-gt-assign-gt-productversion-problem/1644/1 "2010-11-15T08:27:11Z")

</div>

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:&nbsp;

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  
  
&nbsp;

This is ok - product version is 2.1.0

&nbsp;

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&nbsp;2.1.0.1859 value? I think it is a bug - in FB 6.3 this works correctly.  
&nbsp;

--&nbsp;

best regards

Adam Siwoń

&nbsp;

&nbsp;

---

<div class="post-metadata">

### Author: ![Vincent](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/vincent/32/938_2.png) [@Vincent](https://www.finalbuilder.com/forums/u/Vincent)
#### Post date: [November 16, 2010, 1:41am UTC](https://www.finalbuilder.com/forums/t/fb7-and-propertyset-gt-assign-gt-productversion-problem/1644/2 "2010-11-16T01:41:08Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![traptak](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/t/dec6dc/32.png) [@traptak](https://www.finalbuilder.com/forums/u/traptak)
#### Post date: [November 16, 2010, 5:47am UTC](https://www.finalbuilder.com/forums/t/fb7-and-propertyset-gt-assign-gt-productversion-problem/1644/3 "2010-11-16T05:47:45Z")

</div>

&nbsp;

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

best regards

Adam Siwoń

&nbsp;
