|
|||||||
![]() |
|
|
Thread Tools | Search this Thread | Display Modes |
|
|
#1 |
|
Junior Member
Join Date: Oct 2007
Posts: 8
|
How to read the version number of a file and set OutFile..
Hi,
I have to read the file version of our exe and set it as postfix for our setup.exe, like setup_1.0.0.0.exe. I get the entire version via GetDllVersion in the .onInit-callback, but I need this version string for the OutFile Makro, but I can't call OutFile in .onInit. I only can read the version in a global variable like VERSION and can show a message box with that info.... I only want this information as caption in my installer like "Out Program 1.0.0.0". Is there anybody who can help ? I guess yes ;-) Cheers, Freddie |
|
|
|
|
|
#2 |
|
Moderator
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
|
|
|
|
|
|
|
#3 |
|
Junior Member
Join Date: Oct 2007
Posts: 8
|
ok, I see. There is no easy / directly way... So I try it with that "hack" ;-)
Cheers and many thanks!! Freddie post scriptum Works great, for filename and for caption !!
Last edited by Freddie9000; 1st November 2007 at 15:26. |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|