Woodbark
1st December 2003 15:37 UTC
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
kichik
1st December 2003 17:49 UTC
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.
Woodbark
1st December 2003 17:55 UTC
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
Joost Verburg
1st December 2003 18:01 UTC
See the Modern UI documentation (interface settings):
!define MUI_ICON "icon.ico"
(before page macros)
Woodbark
1st December 2003 18:07 UTC
Thanks this problem is now resolved....I feel soo silly.
Thank You