Jump to content

how to read version number of an autoit compiled script?


Go to solution Solved by JohnOne,

Recommended Posts

Posted (edited)

good morning,

How can I read the version number of a compiled scipt from within the executable?
the version number is automatically updated on each compile by the compiler.

for example how can I do this statement work from within a compiled script (without writing the version number by myself of course)?

MsgBox(0, "Version number", "Hello, I am executable with version nr v" & "???????")

Thanks

Edited by PincoPanco

 

image.jpeg.9f1a974c98e9f77d824b358729b089b0.jpeg Chimp

small minds discuss people average minds discuss events great minds discuss ideas.... and use AutoIt....

Posted

hi michaelslamet

thanks, but is not that.

I need the version number of an exe compiled with autoit compiler.

the one you set from SciTE Tools -> Compile -> Resource update -> file version -> Auto Increment

 

image.jpeg.9f1a974c98e9f77d824b358729b089b0.jpeg Chimp

small minds discuss people average minds discuss events great minds discuss ideas.... and use AutoIt....

Posted

Hi PincoPanco, that one I cant help :x

no problem, thanks anyway :)

 

image.jpeg.9f1a974c98e9f77d824b358729b089b0.jpeg Chimp

small minds discuss people average minds discuss events great minds discuss ideas.... and use AutoIt....

Posted

is it not...

FileGetVersion("file.exe", "ProductVersion")

 

Yes!, That's what I was looking for

used in this way within the compiled script:

FileGetVersion(@AutoItExe)

Thanks!

 

image.jpeg.9f1a974c98e9f77d824b358729b089b0.jpeg Chimp

small minds discuss people average minds discuss events great minds discuss ideas.... and use AutoIt....

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...