marshwal

AutoIT Wrapper no longer adding file version

8 posts in this topic

Hello Everyone,

I have searched all over and can't find an answer.  I have used AutoIT for years without many problems, however recently, it just no longer changes the file version for complied EXEs.  I have always just had the following code at the top of my programs and it has worked fine in the past, it now just leaves the file version on the exe blank.

#Region ;**** Directives created by AutoIt3Wrapper_GUI ****
#AutoIt3Wrapper_Compression=4
#AutoIt3Wrapper_Res_Fileversion=2.0.2.0
#AutoIt3Wrapper_Res_ProductVersion=2.0.2.0
#EndRegion ;**** Directives created by AutoIt3Wrapper_GUI ****

If anyone can point me to a fix or what i am doing wrong that would be awesome.

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

@marshwal what AutoIt version? I just tried this and it compiled as expected; both file version and product version.

Edit: Hit save too fast

You cant try it with the #pragma line (below), but it is working fine for me as you have it.

#pragma compile(ProductVersion, 0.1.3.7)
#pragma compile(FileVersion, 1.2.3.4)

 

Edited by JLogan3o13

When you're dead, you don't know you're dead - it's only difficult for those that know you. It's the same way when you're stupid...

My Scripts: SCCM UDFInclude Source with Compiled Script, Windows Firewall UDF

Share this post


Link to post
Share on other sites

I am on the latest I believe.  Version:  3.3.14.2

And at your suggestion #pragma complie worked perfectly.  Have no idea why Wrapper Directives stopped working but I can at least use your suggestion as a work around.  Thanks a bunch!

 

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

Show me the SciTE output pane info generated by the compile, so I can see what is happening.

Jos

Edited by Jos

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

Share this post


Link to post
Share on other sites

the wrapper directives work for me, latest AutoIt and SciTE. is it supposed not to work...? :huh2:

Share this post


Link to post
Share on other sites

It should work fine ...  hence my question to show the generated output by AutoIt3Wrapper from the OutputPane.

Jos


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

Share this post


Link to post
Share on other sites
16 minutes ago, Jos said:

Show me the SciTE output pane info generated by the compile, so I can see what is happening.

Jos

I'm sure it is just user error, and you'll have to excuse my ignorance when it comes to autoit, I am by no means an expert.  When compiling in Scite this is the only output I get:

>"C:\Program Files (x86)\AutoIt3\SciTE\..\aut2exe\aut2exe.exe" /in "Z:\AutoIT Scripts\Autoit MDTs\Live\hpdupdater\hpdupdaterw7 - Copy - Copy.au3"
                       Ultimate Packer for eXecutables
                          Copyright (C) 1996 - 2013
UPX 3.91w       Markus Oberhumer, Laszlo Molnar & John Reiser   Sep 30th 2013

        File size         Ratio      Format      Name
   --------------------   ------   -----------   -----------
    912384 ->    435712   47.76%    win32/pe     aut545C.tmp.exe

Packed 1 file.
>Exit code: 0    Time: 1.293
 

Share this post


Link to post
Share on other sites

So as you can see you aren't running AUtoIt3Wrapper anymore. Just download and run the SciTE4AutoIt3 installer to see if that fixes it.

Jos


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

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