Archive: Defining order of Shortcut in startmenu. Disable automatic sorting


Defining order of Shortcut in startmenu. Disable automatic sorting
Hi,

i'm using NSIS 2.0rc2 on WinXP. While creating shortcuts using CreateShortCut I'm not able to define the order in which they appear on the Windows start menu. It seems that Windows is automatically sorting them !

ex :
In the scrit
CreateShortCut "C" ...
CreateShortCut "B" ...
CreateShortCut "A" ...

In the start menu
Shortcut A
Shortcut B
Shortcut C

Can anyone please let me know how I could define the order in which they appear on the Windows start menu or at least how to prevent window from sorting them.

Thanks


there is none.
except of changing the name to "AC", "B", "CA" ;)


I believe you can prefix the name with spaces to move it up in the listing.


You can change it in the registry, actually;
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\ Explorer\MenuOrder\Start Menu\Menu / etc.

I have no idea how to interpret the values, set them correctly, etc. though :)