jscoder Posted March 5, 2021 Share Posted March 5, 2021 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 The Icon I Set Spoiler Google Chrome Download Link to comment Share on other sites More sharing options...
Developers Jos Posted March 5, 2021 Developers Share Posted March 5, 2021 Welcome, what exactly is the question here as I see only a statement? 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 comment Share on other sites More sharing options...
jscoder Posted March 5, 2021 Author Share Posted March 5, 2021 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 comment Share on other sites More sharing options...
Developers Jos Posted March 5, 2021 Developers Share Posted March 5, 2021 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 comment Share on other sites More sharing options...
jscoder Posted March 5, 2021 Author Share Posted March 5, 2021 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 comment Share on other sites More sharing options...
Developers Jos Posted March 5, 2021 Developers Share Posted March 5, 2021 Great, so the EXE is correct, but you didn't answer my first statement&question. 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 comment Share on other sites More sharing options...
jscoder Posted March 5, 2021 Author Share Posted March 5, 2021 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 comment Share on other sites More sharing options...
Developers Jos Posted March 5, 2021 Developers Share Posted March 5, 2021 (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 March 5, 2021 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 comment Share on other sites More sharing options...
jscoder Posted March 5, 2021 Author Share Posted March 5, 2021 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 comment Share on other sites More sharing options...
jscoder Posted March 5, 2021 Author Share Posted March 5, 2021 You can test this yourself. Compile an empty au3 file Drag and drop on Google Chrome Link to comment Share on other sites More sharing options...
Developers Jos Posted March 5, 2021 Developers Share Posted March 5, 2021 (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 March 5, 2021 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 comment Share on other sites More sharing options...
jscoder Posted March 5, 2021 Author Share Posted March 5, 2021 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 comment Share on other sites More sharing options...
jpm Posted March 5, 2021 Share Posted March 5, 2021 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 comment Share on other sites More sharing options...
Developers Jos Posted March 5, 2021 Developers Share Posted March 5, 2021 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 comment Share on other sites More sharing options...
argumentum Posted March 5, 2021 Share Posted March 5, 2021 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. Follow the link to my code contribution ( and other things too ). FAQ - Please Read Before Posting. Link to comment Share on other sites More sharing options...
Trong Posted March 5, 2021 Share Posted March 5, 2021 On ResHacker delete icon group 169 🤪 Regards, Link to comment Share on other sites More sharing options...
argumentum Posted March 5, 2021 Share Posted March 5, 2021 (edited) No @VIP, it is better to replace it than to delete it. Test around and you'll see why. Edit: oh, missed the joke, lol Edited March 5, 2021 by argumentum :) Trong 1 Follow the link to my code contribution ( and other things too ). FAQ - Please Read Before Posting. Link to comment Share on other sites More sharing options...
Developers Jos Posted March 5, 2021 Developers Share Posted March 5, 2021 I think the issue raised is clear and don't need suggestions for workaround as that was also already made clear. Trong 1 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 comment Share on other sites More sharing options...
JockoDundee Posted March 7, 2021 Share Posted March 7, 2021 On 3/5/2021 at 10:49 AM, argumentum said: Edit: oh, missed the joke, lol the joke? argumentum 1 Code hard, but don’t hard code... Link to comment Share on other sites More sharing options...
Deye Posted March 7, 2021 Share Posted March 7, 2021 A spooky creepy thing Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now