Go Back   Winamp Forums > Developer Center > NSIS Discussion

Reply
Thread Tools Search this Thread Display Modes
Old 15th April 2003, 14:57   #1
t_vgemert
Junior Member
 
Join Date: Aug 2002
Location: Eindhoven, The Netherlands
Posts: 15
Desktop and start-menu shortcuts

Hi there,

I have an installer file (.nsi) which installs a program to a defined place on the users HD. Now this installer automatically also installs desktop and start-menu shortcuts.

Now my problem is that I would like the user to define if he/she wants to have these shortcuts by checking a checkmark on a seperate page. I have looked at several examples but couldn't find a suitable solution... little short on time due to deadline. can somebody help me, I will include my .nsi file for evaluation.
Attached Files
File Type: nsi epinstaller.nsi (5.6 KB, 51 views)
t_vgemert is offline   Reply With Quote
Old 15th April 2003, 15:50   #2
Joost Verburg
NSIS MUI Dev
 
Join Date: Nov 2001
Posts: 3,717
Add a new section so the user can uncheck it on the components page.

If you prefer a separate page, use InstallOptions.
Joost Verburg is offline   Reply With Quote
Old 15th April 2003, 15:53   #3
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,338
If you're really short on time you can always create a separate section for the shortcuts and let the user choose if to install that "component" or not. If you want a separate page you'll have to create an InstallOptions page and create the shortcuts according to the input. Have a look at Examples\Modern UI\InstallOptions.nsi, it displays a message box if the user has checked the check box in the third custom InstallOptions page.

NSIS FAQ | NSIS Home Page | Donate $
"I hear and I forget. I see and I remember. I do and I understand." -- Confucius
kichik is offline   Reply With Quote
Old 16th April 2003, 10:47   #4
t_vgemert
Junior Member
 
Join Date: Aug 2002
Location: Eindhoven, The Netherlands
Posts: 15
Thnks very mutch, you two always seem to push me in the right direction. I used the installOptions.nsi file as reference!
t_vgemert is offline   Reply With Quote
Reply
Go Back   Winamp Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump