BigDog Posted February 10, 2008 Posted February 10, 2008 hi , i m new , nice to meet u here !i have completed some .au3 and compiled them to .exebut , 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 myselfor there is some related property could be set and get in a .au3 or a .exe file ?
LIMITER Posted February 10, 2008 Posted February 10, 2008 hi , i m new , nice to meet u here !i have completed some .au3 and compiled them to .exebut , 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 myselfor 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
Zedna Posted February 10, 2008 Posted February 10, 2008 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 Resources UDF ResourcesEx UDF AutoIt Forum Search
Developers Jos Posted February 10, 2008 Developers Posted February 10, 2008 Make sure you have the Full SciTE4AutoIt3 package loaded to use the Directive as indicated by Zedna. SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
PcExpert Posted February 10, 2008 Posted February 10, 2008 (edited) That would be: $Fileversion = FileGetVersion("Myscript.exe") Msgbox(0, "", $fileversion) Edited February 10, 2008 by PcExpert
BigDog Posted February 10, 2008 Author Posted February 10, 2008 (edited) 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 February 10, 2008 by BigDog
PcExpert Posted February 10, 2008 Posted February 10, 2008 I dont think that the error would impact your script, try compiling it and then see if it still gives the error.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now