emulienfou
4th September 2007 17:47 UTC
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
sgiusto
4th September 2007 17:59 UTC
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
emulienfou
4th September 2007 18:03 UTC
ok think you I will test its