Jump to content
Sign in to follow this  
marshwal

AutoIT Wrapper no longer adding file version

Recommended Posts

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

@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

"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

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

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

Jos

Edited by Jos

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.
  :)

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


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.
  :)

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  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...