Marcelos

Compiling Scripts with Aut2Exe

7 posts in this topic

HI

im compiling the "child" components of a script  with  Aut2Exe  V3. I start this , from the ctrl-f7 interface , at the tab "run before/after". I want to autoincrement the fileversion (at #AutoIt3Wrapper )

 AutoIt3Wrapper v.2.1.2.9    Environment(Language:0409  Keyboard:0000080A  OS:WIN_7/Service Pack 1  CPU:X64 OS:X64)

thanks in advance

Ex.

start c:\myPath\CompilerDEV.cmd
-----

the cmd content is

c:\pathtoAUT2exe\Aut2exe.exe /In  c:\myPath\FGMUpdater.au3 /out  c:\myPath\FGMUpdater.exe /icon  c:\myPath\Recycle.ico /comp 4 /nopack /gui

--------

#AutoIt3Wrapper_Res_Fileversion=0.3.3.193

#AutoIt3Wrapper_Res_Fileversion_AutoIncrement=y

Share this post


Link to post
Share on other sites



When you want to make use of the #Autoit3Wrapper directives, you will have to run AutoIt3Wrapper to compile a script with aut2exe or else these directives are ignored.

Jos

1 person likes this

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

Hi  AdmiralAlkex  & Jos

 I want to autoincrement the fileversion (at #AutoIt3Wrapper_Res_Fileversion) while compiling in commandline with Aut2Exe . this autoincrement , onluy works when compiling with ctrl-f7

#AutoIt3Wrapper_Res_Fileversion=0.3.4.329
#AutoIt3Wrapper_Res_Fileversion_AutoIncrement=y

Share this post


Link to post
Share on other sites

#5 ·  Posted (edited)

Understood but already told you that you NEED AutoIt3Wrapper for the auto increment options! ;)
So when you question is that you want to do a  commandline compile instead of using SciITE then simply run AutoIt3Wrapper in your batch file.

When you press F7 in SciTE you will see the full commndline which is performed.

Jos

Edited by Jos
1 person likes this

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

#7 ·  Posted (edited)

The name more or less explains it: It is a wrapper for AutoIt. In other words it will run AutoIt3 or Aut2exe for you and will perform all kind of tasks before or after through the #Autoit3Wrapper directives to make you whole compile or run process easier. :)

Jos

Edited by Jos
1 person likes this

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

  • Similar Content

    • Imperial
      By Imperial
      I keep getting Error: Opening the File Everytime I try to convert the .au3 to .exe
      http://i.imgur.com/p0Z8JPH.png
    • 9252Survive
      By 9252Survive
      Hi All, 
      Once again returning back to this great community for much needed help. I am sure that I wont be disappointed and you guys will point me in the right direction. 
      To begin with, I am very new here and I have been learning AutoIT. Few months ago I was able to write a script to automate a program to perform some desired task and it has been working great. But, all hell broke lose when I moved this to a Windows 7 VM the script wont even perform the first key commands and after few changes in the code it started working but break intermittently also the compiled scripts wont work at all.  Any help will be much appreciated.  
       
       
    • Akashrai
      By Akashrai
      Hi,
      I have written a script in autoit for automation. It is scheduled and running on server but i have noticed it stops at some points. But when i am taking remote of server and running it runs fine. Is it problem of winActivate() or winWaitActivate() or any other method which i am using, is only run when screen is activated? If this is the may i get list of those methods and alternative of the same. I need alternative of winActivate() and winWaitActivate() methods. Any document or link is welcome. Please help ...       
      thick.au3
    • 9252Survive
      By 9252Survive
      Hello,
      I am in a fix with this problem and I cant seem to find a viable solution. As you would know that the AutoIT scripts can go in pause mode for many reasons. It could be simply WinWait() that could take the script into that state. I do understand that a better design could help a lot but I would like to handle such situation with existing my code. To simplify my query - I am looking for a way to calculate how long the given script/compiled script has been in "pause"  state. Is there a way to do that?  For example, if my script has been in pause state for 3 hours I would like to kill or restart  the pc . I do understand that Auto IT is not multi-threaded but is there a way to achieve what I am trying to?
      Any help or suggestion is much appreciated.
      Thanks   
    • ur
      By ur
      When we compile our code through Aut2exe, version is missing if we check the properties of the compiled executable.
      Can any one suggest how to set a version number to the compiled exe.