Archive: desktop shorcut problem


desktop shorcut problem
I'm sorry to post this. I have searching in forum but not find a solution.

All working good except one thing. All is installed, desktop shorcut is created with icon but it run apps in C:\WINDOWS\system32 not in INSTALLDIR :(
have use this:

!insertmacro MUI_STARTMENU_WRITE_BEGIN Application
CreateDirectory "$SMPROGRAMS\$ICONS_GROUP"
CreateShortCut "$SMPROGRAMS\$ICONS_GROUP\miaou.lnk" "$INSTDIR\miaou.exe"
CreateShortCut "$DESKTOP\miaou.lnk" "$INSTDIR\miaou.exe"
!insertmacro MUI_STARTMENU_WRITE_END

If someone have a idea.

Thanks


Sounds like you may just need to SetOutPath to the proper directory before you create the shortcut

Take a look at this post:
http://forums.winamp.com/showthread....light=start+in


thanks :)
already have SetOutPath "$INSTDIR"
need to add also before create shorcuts :)
work good now, big thanks