Modify

Opened 16 years ago

Closed 16 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 16 years ago.

Download all attachments as: .zip

Change History (7)

Changed 16 years ago by Zedna

comment:1 Changed 16 years ago by Jpm

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

comment:2 Changed 16 years ago by Jpm

  • Resolution set to No Bug
  • Status changed from new to closed

comment:3 Changed 16 years ago by Zedna

  • Resolution No Bug deleted
  • Status changed from closed to reopened

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 Changed 16 years ago by Jpm

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 Changed 16 years ago by Zedna

OK.
Then you may close this ticket ;-)

comment:6 Changed 16 years ago by Valik

  • Resolution set to No Bug
  • Status changed from reopened to closed

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.