can't compile custom icon - Forum

Forum Navigation
You need to log in to create posts and topics.

can't compile custom icon

Page 1 of 2Next

Hi guys,

I'm trying to compile my application with a custom icon, but no matter what I do it can't be done. If I choose the default icon it works perfectly, but when I choose another icon file it's compiled with a windows default app icon.

I've tried many things like disable windows defender real-time protection, adding the icon file into the same compilation folder, etc. I've been using Neobook for years and now VisualNeo and never experienced this issue. More than 2 hours trying and nothing.

Hope you guys can help me solve the problem.

Regards,

Hugo

@Hugo Neira

I never had that problem but try to rename the .ico (icon) file and see if that works and also see the properties of the icon file if it is "Read-only" and change that.

Hope it works

Greetings

@hugo-neira

Good day!
Perhaps the problem is in the icon file itself. Try to create an icon from the image again. For example, using the online image converter to icon files.

I've had similar problems with NeoBook. I'm still using a 2003 version of NeoPaint that I use to create/convert files to .ICOs. I've discovered sometimes it's the size of the .ICO file. i.e. 32x32 vs 48x48. I do sometimes get a icon compile error and sometimes not. It's odd. Try resizing; might help.

IcoFx always helps me in this situation.
There is an option: Windows Icon From Image
.

Uploaded files:
  • You need to login to have access to uploads.

Favor de indicar que formato de icono a usar (32x32, 40x40, etc.) colores, para versión Visualneo 19.4.29 que no me muestra el icono personalizado, si la versión anterior del visualneo me muestra el icono personalizado.

Please indicate which icon format to use (32x32, 40x40, etc.) colors, for Visualneo version 19.4.29 that does not show me the custom icon, if the previous version of visualneo shows me the custom icon.

 

Gracias

No matter what I do I can´t use custom ico file.

Tried all, converting images to ico using online converters (which used to work for me when it was neobook), used already created ico file for windows, used icoFX and other software to create icon for windows and nothing works. It's so frustrating, do I need to use those really old apps that change the app default ico like changing the resources file of the app? it's crazy

I think there is a latest version related bug...
I will take a look into this as soon as possible.
Sorry.

ragman has reacted to this post.
ragman

@hugo-neira @luishp

I have version 19.4.29.

The icons work fine.

Yip, version 19.4.29 has no problem with adding icons and compiling it.

Exact, I have also version 19.4.29 and no problem with icons !

Guys,

Please check the attached images, I've tried different icons, even icons that used to work with neobook.

As you can see on the images I'm doing what I'm supposed to, but I always get the default icon, I also used resource hacker, and I can see my icon, but there is also the default icon which seems to be predominant.

Any idea? I really need to solve this issue ASAP

Best regards,

Hugo

Uploaded files:
  • You need to login to have access to uploads.

@Hugo Neira

I found that sometimes when i change or add a .ico (icon) file in my pub and compile/publish it, it doesn't change the icon on the .exe file, even if i delete the old file and insert the new file, until i restarted the computer, so just check if that maybe the problem, and if you move the .exe file to another computer the icon will display correct.

I don't have any problems with icons other than that in Ver 19.4.29

@hugo-neira

Attach the icon files that don't work for you, I'll try to connect them for me.

So many thanks @vadim

Attached two icon in a zip file.

Best,

Uploaded files:
  • You need to login to have access to uploads.

@hugo-neira

I have both files displaying fine.
Try my pub.

 

Uploaded files:
  • You need to login to have access to uploads.

Hi @vadim

So many thanks, unfortunately the issue still there, I'm going to move visualneo to another machine, it seems it's not working properly in my machine.

 

Best,

 

Uploaded files:
  • You need to login to have access to uploads.

@hugo-neira

If you have antivirus, it may be blocking it. Try to exclude the program from antivirus so that it trusts it.

Also, check, it is best to run VisualNEO with administrator rights.

 

 

Hi guys,

After a while I found and solved part of the issue, it was due to system language, I was using the english version of VisualNeoWin but my system language was spanish, this caused some issues when compiling with the following symptoms:

  • When not using the option "Compress Application EXE with UPX", the default VisualNeoWin icon was shown in the app instead of my customized icon.
  • When using the option "Compress Application EXE with UPX", no icon was shown in the app file.

What I did was to change my system language to english, and now my app shows the customized icon when using or not the "Compress Application EXE with UPX" option, so that's OK.

But now the problem comes when I try to digitally sign the app using digital certificate, the signing process shows it was correct and I can see the certificate details when I check the app properties in Windows, but when I execute the app then I see the attached message (image). I already signed other apps with the same certificate and no issues.

Any  idea why is this happening? I have the feeling that the root cause is the same and I partially solved the compiling by changing the system language but it's still there, any thought on how to solve it?

I really appreciate you guys can help me to solve this,

Best,

Hugo

Uploaded files:
  • You need to login to have access to uploads.

@hugo-neira I have only seen that message when trying to protect VisualNEO Win generated apps with some software protection applications. That's because the resorces are compressed and not accesible to the app.
Anyway I don't recommend using UPX compression anymore due to the increased possibility of antivirus false positives.

Please take a look here:
https://security.stackexchange.com/questions/16486/why-does-antivirus-softwares-have-an-issue-with-exe-packers

Regards.

Page 1 of 2Next