Archive: How to generate installer version


How to generate installer version
Hi,
I have the following problem: I want to update automaticaly the installer version on compile time using one of the following source information:
1. the app.exe version from the kit
or
2. the compilation date

Does anyone know a method of getting this information ?

PS. I want to read the version of the file without installing it!

Also i need to access the compilation date but I see no define for this like in C (__DATE__)


Have a look at this thread and use nsDate from the archive downloads page with it to get what you are looking for.