Jump to content

Default Icon Remains Inside the Compiled EXE


Recommended Posts

  • Using last version (3.3.14.5) Aut2Exe
  • My OS is Windows 10 64-bit
  • Compile arguments is "Aut2exe /in app.au3 /icon icon.ico /comp 4 /x64"
  • Google Chrome (88.0.4324.190)

 

Remaining Icon

Spoiler

image.png

 

The Icon I Set

Spoiler

image.png

 

Google Chrome Download

image.png

Link to post
Share on other sites
2 minutes ago, Jos said:

Welcome, what exactly is the question here as I see only a statement? 

Problem is the icon looks wrong when my app is downloaded in google chrome browser

Link to post
Share on other sites
  • Developers

Downloaded from where as the preview is presumably generated by the webserver? 
Does it look correct when looked at with the Windows File Explorer?

 

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to post
Share on other sites
4 minutes ago, Jos said:

Downloaded from where as the preview is presumably generated by the webserver? 
Does it look correct when looked at with the Windows File Explorer?

 

Yes, my icon looks correct in the windows file explorer.
I am compiling using Aut2Exe on Windows 10.

Link to post
Share on other sites
1 minute ago, Jos said:

Great, so the EXE is correct, but you didn't answer my first statement&question. ;) 

Sorry, I do not fully understand the question you asked. Do you want the URL where I downloaded the file?

Link to post
Share on other sites
  • Developers
Posted (edited)

You say the Icon is not shown correctly by Chrome when you look at the webpage that has the download...   right?
I simply stated/asked that the Webserver of that site is generating a thumbnail that is shows for the download which you say is wrong?

Edited by Jos

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to post
Share on other sites
Just now, Jos said:

You say the Icon is not shown correctly by Chrome when you look at the webpage that has the download...   right?
I simply stated/asked that the Webserver of that site is generation a thumbnail that i shows for the download which you say is wrong?

Actually the problem is google chrome shows the first icon inside the downloaded file. And when this icon is compiled by Aut2Exe, it is the icon left in the file.

Link to post
Share on other sites
  • Developers
Posted (edited)

Ok ... I see what you mean now. 

It looks like Chrome is using the 16x16 ICO number 1 and that looks like a remains of the old icon set.
I have no idea why aut2exe does that and needs investigation what is going on there.

@jpm, Do you have any idea about this?

Edited by Jos

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to post
Share on other sites
3 minutes ago, Jos said:

Ok ... I see what you mean now. 

It looks like Chrome is using the 16x16 ICO number 1 and that looks like a remains of the old icon set.
I have no idea why aut2exe does that and needs investigation what is going on there.

Thank you for your interest. For now, I am solving my problem by using a resource hacker to delete the icon.

Link to post
Share on other sites
1 hour ago, Jos said:

Ok ... I see what you mean now. 

It looks like Chrome is using the 16x16 ICO number 1 and that looks like a remains of the old icon set.
I have no idea why aut2exe does that and needs investigation what is going on there.

@jpm, Do you have any idea about this?

Hi I don't understand what a drag & drop on a browser can display something.

If I do it on MS Edge chromium it is equivalant to download the file so where the icon must display.

from the point of view of aut2exe the file is created with the first icon being the requested icon.

Sorry for not helping much

Cheers

Link to post
Share on other sites
  • Developers

Don't worry about the chrome thing...  Just check the resources of a compiled script that has an alternative ICO defined.
When you check the Icon section in REsHacker, you will find that the first image is an original one as shown ( the boxed in Plus sign) and there is still an remaining icon_group for it, while the original complete Icon_group should totally be removed.

 

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to post
Share on other sites
2 hours ago, jscoder said:

Compile arguments

It would be good to have an argument or way to replace the Icon #1 right from ... somewhere.
But you have that ResHacker. Just rightclick on the icon and select "Replace icon ..." and you can replace the "icon  group" 99 with the 169 to solve that.
Fortunately you are not stuck in a problem without a solution. :)

Link to post
Share on other sites
  • Developers

I think the issue raised is clear and don't need suggestions for workaround as that was also already made clear. ;) 

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...