tags:

views:

282

answers:

1

Hi,

As in the question I want to let user decide if he/she wants desktop shortcut of my application or not using NSIS. I was trying to do it using custom pages, but no luck.

Maybe someone did it before and will be willing to share the script?

Thanks in advance :)

A: 

The easy way is to just use a section and the component page takes care of it

If you go for the custom page option (overkill IMHO), you could store the result in a global variable or just toggle the (hidden) section directly with the helper macros in section.nsh

Note: I'm pretty sure the MS guidelines tells you not to create a desktop shortcut

Anders
You are right.. after reading a little more I got it using sections ;) But I just started using NSIS today so I hope I'm excused :)
kyrisu