Archive: No icon for my installer.exe, why? I just want the default icon.


No icon for my installer.exe, why? I just want the default icon.
Hi! :)

I made a script using HM NIS Edit 2.0.1, it uses the default icons.

The icon is present on my installer.exe when I compile the script with a few test files.

But there's no icon on my installer.exe when I compile it with my real files. There's about 14 000 files for a total of 1GB uncompressed, 500MB zipped.

Anyone had this issue and knows a workaround? Thanks!!

Here are more infos:
I use NSIS 2.0.1.
I use the modern UI.

Here's my icon code:


!define MUI_ABORTWARNING
!define MUI_ICON "${NSISDIR}\Contrib\Graphics\Icons\modern-install.ico"
!define MUI_UNICON "${NSISDIR}\Contrib\Graphics\Icons\modern-uninstall.ico"


Here's the only lines that changes between the two compilations:

File /r "C:\All Files\*.*"
;File /r "C:\Test Files\*.*"

Maybe Windows needs a bit of time to read the icon from such a huge file.


Yeah, me too I feel like it is a Windows problem.
In WindowsExplorer I don't see the icon, but I was able to see it in a FileOpen dialog.

Can you think of a workaround, a trick to help Windows?
Maybe the icon is stored at the end of the file.. could it be stored at the begining instead?


Well, when the file is on the desktop, the icon appears alright. When I drag-drop the file into nero to burn, it appears.

Also, I noticed that when I renamed the installer of Need For Speed Underground 2 demo, the icon disapeared.

--> Windows bug.
Closed.

Thanks Joost