Archive: Installer Icon probelm


Installer Icon probelm
Hi,

I am experiencing an odd problem.

I am using the following code to define the icons:

!define MUI_ICON "installer.ico"
!define MUI_UNICON "Uninstall.ico"

But I noticed my icon for the installer is first getting assigned properly to the Installer file, and at the very end of the script compilation it changes into this old default Windows app icon.

After some tests, I found out that if I comment out the following line in my script, everything works fine:

File /oname=$TEMP\directx_Jun2010_redist.exe directx_Jun2010_redist.exe

So somehow adding this file to my installation kills the custom icon I am using.

Further more, I found that if I comment out the entire icon definition, the default NSIS installer icon is used but in the same way, it gets changed at the very end to that Windows default app icon...

Anybody knows how to go around this glitch?

All I am doing is adding the directx installer to mine... why should it even have any effect on the installer icon?

Thanks,

Shai


Is your finished installer large? Windows cannot/will not display the correct icon when the exe goes above some particular size. A brief search has not found confirmation, but I've seen this sometimes on my own builds too.


Hey,

Thanks for the tip.

I think that is exactly the problem.
I'll try to find some workaround.


http://forums.winamp.com/showthread.php?t=156086
http://forums.winamp.com/showthread.php?threadid=261911