Announcement

Collapse
No announcement yet.

Assign file version to variable ???

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Assign file version to variable ???

    Is there a way to put the file version info into a variable ?

    ie when looking at file properties for a .exe you will see a product version and a files version and I would like to be able to assign these values to a variable for use in the setups.

  • #2
    Re: Assign file version to variable ???

    You can read the version of an executable at run time using the Read File Information action.

    I'm not aware of any automatic way to assign the version of an executable in your project directly at design time.

    You could assign the value to a variable "manually," of course, using an Assign Value action. Or you could install the file to a temporary directory at run time, and use the Read File Information action to get its file version.

    What do you need the file version info for?
    --[[ Indigo Rose Software Developer ]]

    Comment

    Working...
    X