Jump to content

Anyone got NT4


ChrisL
 Share

Recommended Posts

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

Link to comment
Share on other sites

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#Directive

Actually, 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

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#Directive

Actually, 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.

Link to comment
Share on other sites

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.

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...