Icon for main install
I've searched, and used the wiki links to get an icon to work for the desktop shortcut, and quick launch, but I can't figure out how to get the same icon to be used for the main installer the script creates, it just sticks with the default NSIS icon. When searching these boards here all icon references I got were to creating shortcuts, which I have working fine...
Here is what I've tried:
;Folders where files are and names and stuff above MYCLSDIR is where the main folder is where all the files are that get installed
!define ICON "${MYCLSDIR}\${NAME}.ico"
;Name and file
Name "${NAME}"
!ifdef ICON
Icon "${ICON}"
!endif
OutFile "${NAME} v${VERSION} Setup.exe"
And just for reference this is the code that is working fine for the desktop shortcut:
Section "Start Menu Shortcut" Section4
CreateShortCut "$SMPROGRAMS\Firaxis Games\Sid Meier's Civilization 4 - Beyond the Sword\${MOD_NAME}.lnk" "$INSTDIR1\Civ4BeyondSword.exe" "mod=\${MOD_LOC}" "${ICON}" 0
SectionEnd
So what am I missing to just make the main Setup installer use the icon?