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)
Change History (7)
by , 18 years ago
| Attachment: | screenshots.zip added |
|---|
comment:1 by , 18 years ago
comment:2 by , 18 years ago
| Resolution: | → No Bug |
|---|---|
| Status: | new → closed |
comment:3 by , 18 years ago
| Resolution: | No Bug |
|---|---|
| Status: | closed → 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 by , 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:6 by , 18 years ago
| Resolution: | → No Bug |
|---|---|
| Status: | reopened → closed |

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