I am using NSIS to create an installer for one of my apps, and I am using this code to create shortcuts on the start menu:
;create start-menu items
CreateDirectory "$SMPROGRAMS\myFolder"
CreateShortCut "$SMPROGRAMS\myFolder\app.lnk" "$INSTDIR\app.exe" "" "$INSTDIR\app.exe" 0
CreateShortCut "$SMPROGRAMS\myFolder\Uninstall.lnk" "$INSTDIR\Uninstall.exe" "" "$INSTDIR\Uninstall.exe" 0
It works, but the Uninstaller shortcut on the start menu > myFolder appears before the app.exe shortcut.
Is there a way to control the order of the shortcuts?