11-12-2013 10:55 AM
Hi,
Exactly as in the title.
What needs to be done to populate each time when application is build (exe) the current build version number?
Can it be done as one of pre-build actions?
K.
11-12-2013 11:05 AM - edited 11-12-2013 11:07 AM
I usually stick this beast in my apps to populate the banner info as seen here https://forums.ni.com/t5/LabVIEW/Community-Nugget-Series-Application-Development-Installment-2/td-p/...
This pulls the build version right out of the app and pervents me from forgetting to update that silly BD constant before each build
11-12-2013 03:22 PM
11-12-2013 03:44 PM
Ah.... Just realized that you wanted to display that version information in the title bar. So the preceding clip didn't quite get you there. Once you get the string try something like this. Note the title bar:
11-13-2013 07:03 AM - edited 11-13-2013 07:04 AM
What I wanted was the App Builder to put the info about version immediately during the build.
The first piece of code you posted do the job, thank you for that. Of course I was aware about the second piece you sent. 🙂
However, I thought that I could achieve my aim using only builder with its Pre-build actions without the need of adding the code to the app.
I check what PiDi sent.
01-30-2014 08:55 AM
It would be nice to somehow automatically update the installer build so that when you run "setup" it will tell you the version it is gonig to install without running the installer first.. currently there is no automated way I have found of documenting this, so when you have a large build folder, sometimes its hard to know what verison the install/setup is for..