Skip to content
⌘ NSIS Forum Archive

Desktop shortcut option

5 posts

SteveRussell#

Desktop shortcut option

I don't see this question addressed in the documentation and after searching the forum, so I'll ask:
How do I give the user the option of installing a desktop icon (and possibly other similar choices)?

Also, half of the time, when I leave the launch program checkbox checked at the end of an installation, my program window is not on top. And suggestion?

Thank you very much.
Red Wine#
1. Either by setting up a visible on components page section or a custom page.

2. Check out both threads below,
Are you a developer who uses NSIS to distribute your application? Are you a Winamp plug-in developer who wants to use NSIS to distribute your plug-in? Have suggestions for other people like you? This is the place.

Are you a developer who uses NSIS to distribute your application? Are you a Winamp plug-in developer who wants to use NSIS to distribute your plug-in? Have suggestions for other people like you? This is the place.
SteveRussell#
Thanks a lot, Red Wine. After looking at those threads on keeping the window on top, I decided to handle that in my own application. I don't think any of the choices are dependable anyway.

Does anyone have code to share that would help me add a page for giving the user choices for installing the desktop icon, etc.?
Red Wine#
Following ini ripped from Firefox installation (hopefully they don't mind), might help you
[Settings]
RTL=0
NumFields=4
[Field 1]
Type=label
Text=Create icons for Firefox:
Left=0
Right=-1
Top=5
Bottom=15

[Field 2]
Type=checkbox
Text=On my &Desktop
Left=15
Right=-1
Top=20
Bottom=30
State=1
Flags=GROUP

[Field 3]
Type=checkbox
Text=In my &Start Menu Programs folder
Left=15
Right=-1
Top=40
Bottom=50
State=1

[Field 4]
Type=checkbox
Text=In my &Quick Launch bar
Left=15
Right=-1
Top=60
Bottom=70
State=1
SteveRussell#
Thank you very much, Red Wine! I hate to say it, but now I'll have to learn how to use it. . . .