# PropertySet to InstallShield Version

**URL:** https://www.finalbuilder.com/forums/t/propertyset-to-installshield-version/1124
**Category:** Discussion
**Created:** [March 3, 2009, 5:00am UTC](https://www.finalbuilder.com/forums/t/propertyset-to-installshield-version/1124 "2009-03-03T05:00:05Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![aperregattur](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/a/22d042/32.png) [@aperregattur](https://www.finalbuilder.com/forums/u/aperregattur)
#### Post date: [March 3, 2009, 5:00am UTC](https://www.finalbuilder.com/forums/t/propertyset-to-installshield-version/1124/1 "2009-03-03T05:00:05Z")

</div>

I created a PropertySet from AssemblyInfo which will retrieve file version from Assemblyinfo into a variable called NetProductVersion.

Now, I want to use that NetProductVersion to update InstallShield 2008 installer. So i added InstallShield Project to FB and in the override parameters i set the version to use from PropertySet -\>NetProductVersion but its not taking that value.

Am I doing something wrong here. I want to have 1 AssemblyInfo file where i change the version and projects and installer can use that file to set their version info.

Please help.

Thanks,

Arun

---

<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: [March 4, 2009, 1:49am UTC](https://www.finalbuilder.com/forums/t/propertyset-to-installshield-version/1124/2 "2009-03-04T01:49:44Z")

</div>

Hi Arun   
  
 I’m not able to reproduce this, did you confirm that the property set has the correct values after loading from the assemblyinfo.cs ? If you send your project to our support email I will take a look.

---

<div class="post-metadata">

### Author: ![aperregattur](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/a/22d042/32.png) [@aperregattur](https://www.finalbuilder.com/forums/u/aperregattur)
#### Post date: [March 4, 2009, 4:59am UTC](https://www.finalbuilder.com/forums/t/propertyset-to-installshield-version/1124/3 "2009-03-04T04:59:15Z")

</div>

I sent the email.

---

<div class="post-metadata">

### Author: ![aperregattur](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/a/22d042/32.png) [@aperregattur](https://www.finalbuilder.com/forums/u/aperregattur)
#### Post date: [March 4, 2009, 5:49am UTC](https://www.finalbuilder.com/forums/t/propertyset-to-installshield-version/1124/4 "2009-03-04T05:49:56Z")

</div>

I found the problem i think.   
  
 Scanning AssemblyInfo file C:\Projects\SolutionInfo.cs   
 Assigning values to PropertySet NETProductVersion   
 Setting MajorVersion to “2”   
 Setting MinorVersion to “7”   
 Setting BuildVersion to “6”   
 Setting RevisionVersion to “214”   
 Setting FileMajorVersion to “2”   
 Setting FileMinorVersion to “7”   
 Setting FileBuildVersion to “6”   
 Setting FileRevisionVersion to “214”   
  
 I want 2.7.6.214   
 But Installer is using only 2.7.214 and leaving Revision number. I would like to include Revision to the versioning. How do i achieve that?   
  
 Thanks   
 Arun

---

<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: [March 4, 2009, 11:45am UTC](https://www.finalbuilder.com/forums/t/propertyset-to-installshield-version/1124/5 "2009-03-04T11:45:09Z")

</div>

Hi Arun   
  
 This is a limitation of Windows Installer, it only supports 3 element version numbering.

---

<div class="post-metadata">

### Author: ![aperregattur](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/a/22d042/32.png) [@aperregattur](https://www.finalbuilder.com/forums/u/aperregattur)
#### Post date: [March 5, 2009, 2:24am UTC](https://www.finalbuilder.com/forums/t/propertyset-to-installshield-version/1124/6 "2009-03-05T02:24:57Z")

</div>

So i am stuck? i have to manually update the versioning.   
  
 Thanks   
 Arun

---

<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: [March 5, 2009, 10:43am UTC](https://www.finalbuilder.com/forums/t/propertyset-to-installshield-version/1124/7 "2009-03-05T10:43:57Z")

</div>

According to the Installshield documentation it says while you can set the version info to aaa.bbb.ccc.ddd windows installer doesn’t support it. I will look into enabling this in the action.

---

<div class="post-metadata">

### Author: ![aperregattur](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/a/22d042/32.png) [@aperregattur](https://www.finalbuilder.com/forums/u/aperregattur)
#### Post date: [March 6, 2009, 2:50am UTC](https://www.finalbuilder.com/forums/t/propertyset-to-installshield-version/1124/8 "2009-03-06T02:50:33Z")

</div>

That would be great. it will make my life lot easier. Since the amount of work put into this Build Process huge and i wanted to get it right also i recommended Final Builder to my company so i have make it work and complete automated Build process as possible.   
  
 Thanks   
 Arun
