Extract file Version info at compile time

Got a problem you cannot solve? Try here.
IanM
Posts: 42
Joined: Tue Mar 08, 2005 1:23 pm

Extract file Version info at compile time

Postby IanM » Tue Mar 14, 2006 10:20 am

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?

MichaelNesmith
Posts: 3452
Joined: Thu Dec 22, 2005 7:17 pm
Contact:

Postby MichaelNesmith » Tue Mar 14, 2006 5:18 pm

You can try the automation interface to programmatically emit a setup project and build it...
Michael Nesmith
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/

IanM
Posts: 42
Joined: Tue Mar 08, 2005 1:23 pm

Postby IanM » Wed Mar 15, 2006 12:45 pm

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

MichaelNesmith
Posts: 3452
Joined: Thu Dec 22, 2005 7:17 pm
Contact:

Postby MichaelNesmith » Wed Mar 15, 2006 1:22 pm

Sure, I'll log this in as a feature request for you! Thanks for the suggestion.
Michael Nesmith

InstallAware

Home of The Next Generation MSI Installer

Get your free copy today - http://www.installaware.com/

tofutim
Posts: 176
Joined: Thu Mar 01, 2012 1:16 pm

Re: Extract file Version info at compile time

Postby tofutim » Thu Jan 23, 2014 3:06 pm

Any chance this was ever addressed?

FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: Extract file Version info at compile time

Postby FrancescoT » Fri Jan 24, 2014 10:26 am

If you are reffering to the possibility to use an ini or XML file with IA Automation ... unfortunately, this is not possible.

Regards
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 98 guests