08-09-2017 10:42 AM
When I build an installer in LabView, the name of the program in "Programs and Features" comes from the "Product Name" field of the installer properties. What I would like to do is programmatically modify that name during the installer build to append the version of the exe that the installer is including.
For example, if I have an exe build that generates "My exe" version 1.0.0.42, I want the installer's product name to be "My exe_1.0.0.42" in the "Programs and features" list in the Windows control panel.
Is this possible in a generic way?
Solved! Go to Solution.
08-09-2017 11:39 AM
08-09-2017 11:42 AM
Gah! I was just heading in that direction and you beat me to it I knew someone out there would have dealt with this before.
Thanks!
XL600
08-09-2017 11:50 AM
How did you wire the project reference to the Get Build Specification Version VI? That VI (In LV2016) needs a project path, not a reference.
08-09-2017 11:55 AM
Haha, I have not dealt with this, but I wanted to figure out how to. That VI is polymorphic by the way. You can wire the reference in and it should change, or right click >> visible items >> polymorphic selector.
08-09-2017 11:59 AM
Grrr... I wish it was more obvious when a VI was polymorphic.
Thanks again!
08-09-2017 01:21 PM
Here's what I came up with... I wanted to change the installer product name, not the EXE target folder.
08-10-2017 09:12 AM
A few more 'improvements':