PDA

View Full Version : Embedded File Version


gbrown
08-29-2008, 01:33 PM
Is there a way at run time to get the version information of a file that's been "embedded" into the setup.exe? Here's the scenario:

File "aardvark.exe" is part of my installation set and has been included in the setup.exe that Setup Factory has cranked out.

At installation I want to have the interface say "You are going to be installing version 1.3.22 of aardvark.exe". However, it needs to get this from the file that's in the setup.exe and which, since I've not run the setup, hasn't been extracted. Piece of cake to get version info from an existing file...but how from on that doesn't exist in the "real" world?

Yes, I know I could manually set the version in the global properties...but I'm lazy. I want to just move a revised EXE into my "image" folder and have all the magic happen without me doing anything.

GcB

(Hey guys... I've missed you...I'm still doing glass!)

jassing
08-29-2008, 01:53 PM
<snip>File "aardvark.exe" is part of my installation set and has been included in the setup.exe that Setup Factory has cranked out.

At installation I want to have the interface say "You are going to be installing version 1.3.22 of aardvark.exe". However, it needs to get this from the file that's in the setup.exe and which<snip>

Have a look at SetupData.GetFileList().FileVersion


(Hey guys... I've missed you...I'm still doing glass!)
[/QUOTE]

what kind of glass? I blew glass for a (meger) living years ago...

gbrown
08-29-2008, 02:30 PM
Well, son-of-a-gun, that will do it!

GcB

(As to the glass... fused glass ... see: FusedLight (http://fusedlight.com))

jassing
08-29-2008, 02:39 PM
Glad I could help...

we used silver to bring to bring out/alter colours (blew the silver into the glass) -- the only thing I hated was the noise from the O2 concentrators... oh, and the heavy metal worries....