This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Link file version in component with IS 'Product Version'
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 31, 2014
04:12 AM
Link file version in component with IS 'Product Version'
Does anyone know whether it's possible to
link the file version of a particular exe file in a component
with the 'Product Version' setting under 'General Information'?
When building the release, my goal is to automatically update
the product version of the installer package in accordance with
the main program exe file which determines of what version the
whole installer package currently is, so that I could use this
in an IsCmdBld.exe build without any manual intervention.
Thanks to all who want to help.
link the file version of a particular exe file in a component
with the 'Product Version' setting under 'General Information'?
When building the release, my goal is to automatically update
the product version of the installer package in accordance with
the main program exe file which determines of what version the
whole installer package currently is, so that I could use this
in an IsCmdBld.exe build without any manual intervention.
Thanks to all who want to help.
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Feb 03, 2014
08:32 AM
We don't offer any built-in ways to do this, although it shouldn't be too hard to write a program that would examine the file's version (or get it from a shared source) and pass it as a parameter to iscmdbld.exe. One major thing to note if you go down this path, however, is that Windows Installer treats ProductVersion differently from file versions. In ProductVersion it only examines the first three fields, whereas for file versions it examines all four.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Feb 04, 2014
01:45 AM
Hi Michael,
Thanks for your clarification. I'm about to develop a small supporting application that will
deliver the missing information to the command line of IsCmdBld.exe in a .bat batch file
which will then be executed.
BTW: Could you perhaps also comment on my other post 'Placeholder in Custom Version Properties'?
Thanks for your clarification. I'm about to develop a small supporting application that will
deliver the missing information to the command line of IsCmdBld.exe in a .bat batch file
which will then be executed.
BTW: Could you perhaps also comment on my other post 'Placeholder in Custom Version Properties'?