PropertySet to InstallShield Version

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

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.


I sent the email.

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

Hi Arun

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

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

Thanks
Arun

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.

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