Page 1 of 1

Extract file Version info at compile time

Posted: Tue Mar 14, 2006 10:20 am
by IanM
I would like to be able to extract the version number from my key application file at compile time and use this to align the install program Version number that appears on dialogs etc.

Any suggestions?

Posted: Tue Mar 14, 2006 5:18 pm
by MichaelNesmith
You can try the automation interface to programmatically emit a setup project and build it...

Posted: Wed Mar 15, 2006 12:45 pm
by IanM
MichaelNesmith wrote:You can try the automation interface to programmatically emit a setup project and build it...


Thanks Michael,

I was just being lazy and it is probably not worth the time it would take for me to code this up vs. manually changing the version numbers in each project.

However looking at the Automation DLL miaInitiliaseProject function made me wonder if miaBuild could be enhanced in the future by allowing any/all of the project settings such as Version number , manufacturer etc to be piped via an ini or XML file.

Ian

Posted: Wed Mar 15, 2006 1:22 pm
by MichaelNesmith
Sure, I'll log this in as a feature request for you! Thanks for the suggestion.

Re: Extract file Version info at compile time

Posted: Thu Jan 23, 2014 3:06 pm
by tofutim
Any chance this was ever addressed?

Re: Extract file Version info at compile time

Posted: Fri Jan 24, 2014 10:26 am
by FrancescoT
If you are reffering to the possibility to use an ini or XML file with IA Automation ... unfortunately, this is not possible.

Regards