cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
JannyLan
Level 3

How to get an install setup.exe file's file version

Hi,

I need to get an install setup.exe file's product version through an automate process. I am trying to use nant script to get it:




This way the file_version doesn't get the real product version though. when I go to explorer, right click on file_name-->property, I can see that the file version on the top is different from the file version and the product version in the bottom.

How can we get the real file/product version of an installSetup.exe file please?

Many thanks!
Labels (1)
0 Kudos
(4) Replies
JannyLan
Level 3

more specificly should be: How to get a setup luancher file's file version/Product Version by perl/nant scripts please?
0 Kudos
RobertDickau
Flexera Alumni

(Follow-up of sorts [thread=187472]here[/thread].)
0 Kudos
JannyLan
Level 3

yes, thank you very much!
0 Kudos
teognost
Level 2

I noticed the setup exe (Install Script project under DevStudio) always indicates 9.1.0.429 which is InstallShield version and not the product version set in General Information->Product properties ->Version.
Is there any way to change that so instead of 9.1.0.429 will appear the version of application being installed?
Or is it any way to set the version of setup exe by some function in Setup.rul using a predefinite value?
0 Kudos