meglamaniac
5th November 2004 11:13 UTC
Problems setting uninstaller icon
I should probably mention i'm using the modern interface.
I am trying to customise the icons on my installer and uninstaller.
I've tried:
Icon "setup.ico"
UninstallIcon "uninstall.ico"
and
!define MUI_ICON "setup.ico"
!define MUI_UNICON "uninstall.ico"
In the first case, non of the icons get set at all (??) and I have no idea why. The icons exist, I tried moving them to check and then the compiler complained it couldn't find them so it's definately getting them.
In the second case, the setup icon is set ok as is the uninstaller icon.
BUT:
The icon for the uninstaller LINK in the start menu is not set, and is left as the default NSIS one.
So two questions really:
1) How do I set the uninstall link icon?
2) Why doesn't the Icon/UninstallIcon method work at all for me?
Thanks.
Joel
5th November 2004 14:37 UTC
Same depth and size for both.
meglamaniac
5th November 2004 15:06 UTC
They are.
I should also mention I even tried
* Making a duplicate of the installation icon install.ico file called uinstall.ico, and specifying that. No ball.
* Specifying install.ico for the install and the uninstall. No ball.
I've searched the forum and read the doc topics on this one and I have covered all the common mistakes and issues so far as I can tell.
I still can't understand why the first method doesn't even work, and why the second method uses an uninstall icon that shouldn't even exist...
Joel
5th November 2004 15:12 UTC
Can you attach them...?
Maybe they aren't... or the path is invalid.
meglamaniac
5th November 2004 15:35 UTC
Path isn't invalid cos I tried invalidating it and then the compiler wouldn't compile the installer.
The wrong icon on the shortcut has been solved - it turned out to be a dodgy icon cache on the test rig.
However, still no joy on the problem with Icon and UninstallIcon commands.
The offending icons are attached.
Joel
5th November 2004 15:55 UTC
Try again...
and remember, using this:
!define MUI_ICON "setup.ico"
!define MUI_UNICON "uninstall.ico"
Means that both icons must be in the same path where is your script.