How to let user decide if he wants shortcut on the desktop in NSIS (Nullsoft Scriptable Install System)?
Question
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 :)
Solution
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
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow