Modify

#1926 closed Feature Request (Completed)

Support for #AutoIt3Wrapper_outfile_x64

Reported by: lwc Owned by:
Milestone: Component: Aut2Exe
Version: Severity: None
Keywords: wrapper, x64 Cc:

Description

Please allow for both #AutoIt3Wrapper_outfile and #AutoIt3Wrapper_outfile64. For example:
#AutoIt3Wrapper_outfile=myfile.exe
#AutoIt3Wrapper_outfile64=myfile_x64.exe

The correct file should be chosen based on the "Use X64" checkbox.

It is really a pain without this.

Thanks!

Attachments (0)

Change History (6)

comment:1 by Jos, on May 18, 2011 at 8:32:06 PM

What exactly is the pain?
You need to compile for both an x86 and an x64 version every time?
If so, why not simply create 2 wrapscripts containing the directives for each and then #include the full actual script?

Jos

comment:2 by TicketCleanup, on May 18, 2011 at 9:00:02 PM

Version: 3.3.6.1

Automatic ticket cleanup.

comment:3 by Valik, on May 19, 2011 at 12:50:58 AM

Jos, I admit that I don't use AutoIt3Wrapper, but your suggested solution seems arbitrary. My custom wrapper provides a way for me to compile both x86 and x64 files at once. I use that feature of my wrapper in a program I wrote that loads a DLL into Windows Explorer. The 32-bit and 64-bit binaries sit side-by-side and the 32-bit version is launched by default. It detects if Windows Explorer is 64-bit and re-launches the 64-bit binary which loads a 64-bit DLL, otherwise the 32-bit version continues to run and loads a 32-bit DLL. For this program I use the appropriate flags in my wrapper and always produce a 32-bit and 64-bit binary on each compile with only a single directive added to my script.

It seems to me that AutoIt3Wrapper should have similar behavior as it is more intuitive than 2 separate scripts just to have different directives.

comment:4 by Jos, on May 19, 2011 at 9:01:58 AM

That is a different twist to the original request and is now the second time it came up.
I told the other person I would not have any issue looking at that when it would be a function that would be of interest to a bigger group and suggested to start a topic on this in the forums.
Still open to have that open discussion on this requirement and the best way to approach this as to Directives and output EXE naming.

Jos

comment:5 by lwc, on May 19, 2011 at 10:19:11 PM

You need to compile for both every time?

Of course not. I just need that:
Enabling the "Use X64" checkbox would use #AutoIt3Wrapper_outfile64.
Disabling the "Use X64" checkbox would use the regular #AutoIt3Wrapper_outfile.

Here's the discussion.

comment:6 by Jos, on Oct 28, 2011 at 8:01:49 PM

Resolution: Completed
Status: newclosed

Implemented in AutoIt3Wrapper since version 2.0.2.0

Modify Ticket

Action
as closed The ticket will remain with no owner.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.