Winamp & Shoutcast Forums

Winamp & Shoutcast Forums (http://forums.winamp.com/index.php)
-   NSIS Discussion (http://forums.winamp.com/forumdisplay.php?f=65)
-   -   Change the picture to shortcut (http://forums.winamp.com/showthread.php?t=276912)

emulienfou 4th September 2007 16:47

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 16:59

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 17:03

ok think you I will test its


All times are GMT. The time now is 04:34.

Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.