Modify

Opened 13 years ago

Closed 12 years ago

#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 Changed 13 years ago by Jos

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 Changed 13 years ago by TicketCleanup

  • Version 3.3.6.1 deleted

Automatic ticket cleanup.

comment:3 Changed 13 years ago by Valik

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 Changed 13 years ago by Jos

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 Changed 13 years ago by lwc

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 Changed 12 years ago by Jos

  • Resolution set to Completed
  • Status changed from new to closed

Implemented in AutoIt3Wrapper since version 2.0.2.0

Last edited 12 years ago by Jos (previous) (diff)

Guidelines for posting comments:

  • You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
  • In-depth discussions should take place on the forum.

For more information see the full version of the ticket guidelines here.

Add Comment

Modify Ticket

Action
as closed The ticket will remain with no owner.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.