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