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?
Extract file Version info at compile time
-
- Posts: 3452
- Joined: Thu Dec 22, 2005 7:17 pm
- Contact:
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/
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
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
-
- Posts: 3452
- Joined: Thu Dec 22, 2005 7:17 pm
- Contact:
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/
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
Re: Extract file Version info at compile time
Any chance this was ever addressed?
-
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: Extract file Version info at compile time
If you are reffering to the possibility to use an ini or XML file with IA Automation ... unfortunately, this is not possible.
Regards
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
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
Who is online
Users browsing this forum: Baidu [Spider] and 102 guests