Page 1 of 1

Obtaining the Product Versions of compressed EXE

Posted: Wed Jan 04, 2006 6:53 pm
by BruceMcK
Hi,

Is there a way to obtain the 'Product Version' attrib of a compressed self-extracting EXE?

I want to create a CD AutoRun that can display the Product Versions of the compressed setup EXEs that are on the CD.

If I use the Get File Version command, I get the version of the app that created the self-extracting EXE, not the app contained within.

It would also be handy if I could read the Product Name attrib.

Thanks, Bruce.

Posted: Wed Jan 04, 2006 7:03 pm
by CandiceJones
Hi Bruce!

With InstallAware 5.0 (2005 is 4.x), the product version is written directly into the setup executable. Therefore, the Get File Version command would report the correct value.

Unfortunately, there is no way to read other version information strings using Get File Version.

Posted: Wed Jan 04, 2006 7:16 pm
by BruceMcK
Candice,

Thanks for the speedy reply. That will work well for InstallAware-created EXEs.

I am intending to migrate from InstallShield, and I don't really want to re-do the installers for a dozen products in one go.

Thanks anyway. Bruce.

Posted: Thu Jan 05, 2006 9:16 am
by CandiceJones
I understand, Bruce. Unfortunately there is little we can do for the InstallShield side :) Customers did ask that we inject their own versions into their setup.exe files, and we promptly complied...if InstallShield isn't doing that though, our hands are tied in your case!