Jump to content
Sign in to follow this  
BigDog

version number

Recommended Posts

BigDog

hi , i m new , nice to meet u here !

i have completed some .au3 and compiled them to .exe

but , how do i set the version number of these .exe file ?

because i wish these .exe files could be updated by user from internet.

should i maintain the version number at some where like txt_file or REG by myself

or there is some related property could be set and get in a .au3 or a .exe file ?

Share this post


Link to post
Share on other sites
LIMITER

hi , i m new , nice to meet u here !

i have completed some .au3 and compiled them to .exe

but , how do i set the version number of these .exe file ?

because i wish these .exe files could be updated by user from internet.

should i maintain the version number at some where like txt_file or REG by myself

or there is some related property could be set and get in a .au3 or a .exe file ?

I don't think AutoIt has a built in function for that, i personally use a file on a ftp server , and the script downloads that file and compares the first line with a variable in the script :)

Share this post


Link to post
Share on other sites
Zedna

Place this at top of your AU3 script

#AutoIt3Wrapper_Res_Fileversion=1.0.0.0

When you press F7 (compile) Autoit3Wrapper will do the job for you.

For more details in Scite press Ctrl+F1 then go to

Extra Utilities/Autoit3Wrapper/Directives available

Share this post


Link to post
Share on other sites
Jos

Make sure you have the Full SciTE4AutoIt3 package loaded to use the Directive as indicated by Zedna. :)


Visit the SciTE4AutoIt3 Download page for the latest versions  - Beta files                                How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites
BigDog

thank you ! it is working except a little imperfect

! ***************************************************************************************************

! * Input file is UTF8 encoded with BOM, Au3Check does not support UNICODE and will be skipped. *

! ***************************************************************************************************

Edited by BigDog

Share this post


Link to post
Share on other sites
PcExpert

I dont think that the error would impact your script, try compiling it and then see if it still gives the error.

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.