Opened 8 years ago

Closed 8 years ago

# Aut2Exe won't create .exe when using icon

Reported by: Owned by: BrewManNH Aut2Exe 3.3.9.3 None Aut2EXE icon

### Description

Whenever I try to create an exe file, even as a test, using 3.3.9.3, if I try to use the /icon parameter with Aut2Exe I will never get an exe to be created. Using this line from SciTe to try to create a compiled exe;

F:\AutoIt3\beta\aut2exe\aut2exe.exe  /in "C:\Users\User\Dropbox\AutoItScripts\test.au3" /out "C:\Users\User\Dropbox\AutoItScripts\test.exe" /nopack /icon "C:\Users\User\Dropbox\AutoItScripts\some.ico" /comp 4


I get this error message every time.

---------------------------
Aut2Exe Error
---------------------------
Error: Unable to create the compiled archive.
---------------------------


If I remove the /icon parameter and the connected ico file it will compile without any issues.

### comment:1 Changed 8 years ago by Valik

I cannot recreate your problem, however, I did discover a related problem. When I try to use an icon and UPX the file I'm getting an error from UPX about superfluous data between sections. If I use /nopack then the script compiles just fine.

I know what caused this, I just need to discuss with trancexx the best way to fix it.

### comment:2 Changed 8 years ago by Valik

This is fixed in 3.3.9.4 by reverting the change that caused the problem. We are leaving this ticket open until a proper fix can be implemented in Aut2Exe.

### comment:3 Changed 8 years ago by trancexx

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

This was addressed by revisions [7010], [7011] and finalized by rev [7018].

• In-depth discussions should take place on the forum.

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