Installer version and build time information

asked 13 Sep '11, 08:02

Jake's gravatar image

Jake ♦♦
826222226235
accept rate: 98%


It is possible to check the time that a particular installer was built at by invoking it with the --version option from the command line:

./myprogram-linux-installer.bin --version

The response would be something similar to:

My Program 5.0 --- Built on 2007-10-09 06:05:13

You can add adittional information using the <buildTag> project tag

This feature is not directly available on Windows. Due to the fact that the installers are compiled as graphical applications, because of an Operating System constrain present only on Windows, they loose the ability to write to the console. In order to be able to see the version information, you will need to redirect the output to a file:

./myprogram-windows-installer.exe --version > version-info.txt

So the version information will be available in the "version-info.txt" file generated from the command above.

link

answered 13 Sep '11, 08:04

Jake's gravatar image

Jake ♦♦
826222226235
accept rate: 98%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×27
×27
×8

Asked: 13 Sep '11, 08:02

Seen: 1,314 times

Last updated: 13 Sep '11, 08:04