Modify

Opened 18 years ago

Closed 18 years ago

#191 closed Bug (No Bug)

Aut2Exe adds aditional empty icon into EXE

Reported by: Zedna Owned by:
Milestone: Component: Aut2Exe
Version: 3.2.11.2 Severity:
Keywords: icon Cc:

Description

I discovered BUG in Aut2Exe.
In latest beta 3.2.11.5 it places into compiled EXE new aditional icon
with ordinal name 10 16x16 16 colors (second icongroup seen in reshacker).
Note: In 3.2.10 it was OK.

Here is simple script:
[code]MsgBox(0,,@AutoItVersion)code
When I compile it with AutoIt 3.2.10 it's OK
When I compile it AutoIt 3.2.11.5 beta there is new empty second icon and original second/third icons are moved (their position inside EXE is +1)
output is shown on pictures a0_10, a0_11

The same result is also with Auto3Wrapper example like that:
[code]#AutoIt3Wrapper_icon=my_icon.ico
MsgBox(0,,@AutoItVersion)code
output is shown on pictures a10, a11

There is more complicated script:
[code]#AutoIt3Wrapper_Icon=log_view.ico
#AutoIt3Wrapper_useupx=n
#AutoIt3Wrapper_run_after=ResHacker.exe -add %out%, %out%, ikony.res ,
#AutoIt3Wrapper_run_after=upx.exe --best --compress-icons=0 "%out%"code
where are more my own icons embeded in my EXE and their positions inside EXE compiled by latest beta is wrong.
output is shown on pictures l10, l11

Attachments (1)

screenshots.zip (64.9 KB ) - added by Zedna 18 years ago.

Download all attachments as: .zip

Change History (7)

by Zedna, 18 years ago

Attachment: screenshots.zip added

comment:1 by J-Paul Mesnage, 18 years ago

That's normal it is a go around correction to have icon flashing under Vista

comment:2 by J-Paul Mesnage, 18 years ago

Resolution: No Bug
Status: newclosed

comment:3 by Zedna, 18 years ago

Resolution: No Bug
Status: closedreopened

OK.

But then this should be mentioned in documentation/changelog or AutoIt3.chm::/html/script_breaking_changes.htm.
As you can see in my Log_View project (pictures in attachment) all my added icons have changed index in EXE after recompilation with 3.2.11.

So I must change icon indexes in all my:
GUICtrlSetImage(-1, @ScriptFullPath, $index)

comment:4 by J-Paul Mesnage, 18 years ago

AutoIt only allows to have an icon substitution. We never document an addition process so it is not a breaking script. If you want to be not dependent use FileInstall()

comment:5 by Zedna, 18 years ago

OK.
Then you may close this ticket ;-)

comment:6 by Valik, 18 years ago

Resolution: No Bug
Status: reopenedclosed

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.