Jump to content
Sign in to follow this  
Chimp

how to read version number of an autoit compiled script?

Recommended Posts

Chimp

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

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

Share this post


Link to post
Share on other sites
Chimp

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


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

Share this post


Link to post
Share on other sites
michaelslamet

Hi PincoPanco, that one I cant help :x

Share this post


Link to post
Share on other sites
Chimp

Hi PincoPanco, that one I cant help :x

no problem, thanks anyway :)


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

Share this post


Link to post
Share on other sites
Chimp

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!


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

Share this post


Link to post
Share on other sites

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
Sign in to follow this  

×