Installer Icon probelm
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?