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
Change the picture to shortcut
3 posts
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
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