LabVIEW Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
crelf

Add an option to set the version of an installer to the component it's installing

Status: New

Discussed here: http://lavag.org/topic/14698-programatically-adjusting-build-specs/  It'd be neat to be able to have the installer's version/build number to that of its component (exe, source distro, etc) on build.  I know that an installer can have more than one component, so maybe we'd need a way to set which component's version number to clone.





Copyright © 2004-2023 Christopher G. Relf. Some Rights Reserved. This posting is licensed under a Creative Commons Attribution 2.5 License.
2 Comments
ABachmann
Member
I'm also searching for a way to change the version information of the currently running build process within a pre-build action (changing it for the next build process is working). Is there maybe a workaround to achieve this?
Hooovahh
Proven Zealot

I made an example showing how this can be done using the pre build VI of an application.  So if your work flow is to first build an EXE, then to build an installer the processes shown here might work.

 

http://forums.ni.com/t5/LabVIEW/Pre-Build-EXE-and-Installer-Set-Version/td-p/3149028

 

Building the EXE will set the build version, and installer version, then abort the build.  Starting a build again will work as expected.  In that example you could remove the part of the code setting the build version.