Archive: Icon Problems


Icon Problems
I am trying to use win-install.ico & the win-uninst.ico files in my installer but for some reason the icons do not work, although I can get it to work on a small sample file (about 20k) if I use it on my main program (around 15mb) the icons do not change from the standard NSIS icons....

Any ideas...

Cheers


Are you using the MUI? If you are, you should define MUI_ICON and MUI_UNICON instead of using Icon and UninstIcon. If you're not using the MUI, attach an example script.


Yes I am using the MUI these are the 2 lines that I have added which I assume are incorrect..

Icon "C:\Program Files\NSIS\Contrib\Graphics\Icons\win-install.ico"
UnInstallIcon "C:\Program Files\NSIS\Contrib\Graphics\Icons\win-uninstall.ico"

Can you give me hint on where to put the MUI_Icon lines please..

Thanks again


See the Modern UI documentation (interface settings):

!define MUI_ICON "icon.ico"

(before page macros)


Thanks this problem is now resolved....I feel soo silly.

Thank You