ChrisL Posted December 8, 2006 Share Posted December 8, 2006 Strangely if I compile my script with options and change the file version number, then do a filegetversion(@scriptname) on NT4 it returns the AutoIT version. Even right clicking and selecting properties on the file is returning the AutoIT version and not the (custom) file version number. It works on 2K and XP [u]Scripts[/u]Minimize gui to systray _ Fail safe source recoveryMsgbox UDF _ _procwatch() Stop your app from being closedLicensed/Trial software system _ Buffering Hotkeys_SQL.au3 ADODB.Connection _ Search 2d Arrays_SplashTextWithGraphicOn() _ Adjust Screen GammaTransparent Controls _ Eventlogs without the crap_GuiCtrlCreateFlash() _ Simple Interscript communication[u]Websites[/u]Curious Campers VW Hightops Lambert Plant Hire Link to comment Share on other sites More sharing options...
lod3n Posted December 8, 2006 Share Posted December 8, 2006 Using the full install of SciTE with AutoIt3Wrapper, you can use Compiler Directives to accomplish setting version numbers, I think:http://www.autoitscript.com/autoit3/scite/...r.htm#DirectiveActually, an easier way might be to use the .ini file that is created when you compile using the GUI compiler, and set the version in there. [font="Fixedsys"][list][*]All of my AutoIt Example Scripts[*]http://saneasylum.com[/list][/font] Link to comment Share on other sites More sharing options...
ChrisL Posted December 9, 2006 Author Share Posted December 9, 2006 Using the full install of SciTE with AutoIt3Wrapper, you can use Compiler Directives to accomplish setting version numbers, I think:http://www.autoitscript.com/autoit3/scite/...r.htm#DirectiveActually, an easier way might be to use the .ini file that is created when you compile using the GUI compiler, and set the version in there.I have compiled the script on my XP laptop the version number I have set is 1.0.0.4 which shows fine on 2K/XP boxes, but when I copy the compiled exe onto an NT4 box it returns the autoit version 3.2.0.12, even if I right click the app and get the properties. [u]Scripts[/u]Minimize gui to systray _ Fail safe source recoveryMsgbox UDF _ _procwatch() Stop your app from being closedLicensed/Trial software system _ Buffering Hotkeys_SQL.au3 ADODB.Connection _ Search 2d Arrays_SplashTextWithGraphicOn() _ Adjust Screen GammaTransparent Controls _ Eventlogs without the crap_GuiCtrlCreateFlash() _ Simple Interscript communication[u]Websites[/u]Curious Campers VW Hightops Lambert Plant Hire Link to comment Share on other sites More sharing options...
Uten Posted December 15, 2006 Share Posted December 15, 2006 This works as it is supposed to between w2k-sp4 and Nt4. I don't have XP at the moment. #Compiler_Res_Fileversion=1.0.0.10 msgbox(48, "HELLO","Hello world" & @CRLF & filegetversion(@scriptname)) Runing with F5 in SciTE will give the AutoIt Version number. Runnunger after it has been compiled (using Autoit3Wrapper) It will return 10.0.0.10. Please keep your sig. small! Use the help file. Search the forum. Then ask unresolved questions :) Script plugin demo, Simple Trace udf, TrayMenuEx udf, IOChatter demo, freebasic multithreaded dll sample, PostMessage, Aspell, Code profiling Link to comment Share on other sites More sharing options...
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