Archive: Windows desktop group icon size


Windows desktop group icon size
Hi,

I want to create a desktop group (folder) for my app, with links to the app, its helpfile etc. in the group.

I can do that already, but the default icon size is 'small icons'. (In XP that's 'View' -> 'List'). I want them to be 'normal' sized. (In XP that's 'View' -> 'Icons').

Is this possible?

My existing script approach (modern UI) is:

CreateDirectory "$SMPROGRAMS\Prophecy Training System"
CreateShortCut "$SMPROGRAMS\Prophecy Training System\Prophecy Client.lnk" "$INSTDIR\Prophwin.exe"
..(etc)..


.. and then...

CreateShortCut "$DESKTOP\Prophecy Training System.lnk" "$SMPROGRAMS\Prophecy Training System"

Somehow surely there must be a switch in CreateDirectory or CreateShortCut to determine the icon size? Hope so!

TIA.

Pete


Don't mess with the end users system, what if they prefer the list view?

Anyways, there is no documented way to do this, IIRC that stuff is stored in the registry in a "Bags" key


Hi Anders,

I sort of get your point, but surely installing software IS messing with their system? I dont't want to change anything globally - just my own little folder.

But I guess if there's no documented way to do it in NSIS anyway there's no point in debating!

Thanks for the swift reply!

Pete