Archive: Change the picture to shortcut


Change the picture to shortcut
hello, i want to change the icon picture to my shortcut:

example: CreateShortCut "$SMPROGRAMS\$STARTMENU_FOLDER\cs lan.lnk" "$INSTDIR\hl.exe"" -game cstrike"

and i want to whange the icon by default by an other icon?

sorry for the language but i'm french


try something like this:
CreateShortCut "$SMPROGRAMS\$STARTMENU_FOLDER\cs lan.lnk" "$INSTDIR\hl.exe"" -game cstrike" "Path to file containing icon resource (exe or dll)" <number of icon resource in file>

for example:
CreateShortCut "$SMPROGRAMS\$STARTMENU_FOLDER\cs lan.lnk" "$INSTDIR\hl.exe"" -game cstrike" "$INSTDIR\hl.exe" 3

will use icon #3 form hl.exe


ok think you I will test its