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
desktop shorcut problem
3 posts
Sounds like you may just need to SetOutPath to the proper directory before you create the shortcut
Take a look at this post:
Take a look at this post:
thanks 🙂
already have SetOutPath "$INSTDIR"
need to add also before create shorcuts 🙂
work good now, big thanks
already have SetOutPath "$INSTDIR"
need to add also before create shorcuts 🙂
work good now, big thanks