|
|
|
|
#1 |
|
Junior Member
Join Date: Aug 2010
Location: Tucson, AZ
Posts: 4
|
I pieced this script together from examples I found in various locations. It now does just about everything I want to do with 2 exceptions:
- The publisher's name and file size do not appear in the control panel's "Programs and Features" list. How do I get these to show? - I've seen a check box during install which allows me to uncheck the mail program's name, which of course I wouldn't do. But how to I get the desktop shortcut and the start menu shortcuts to also become optional? Thanks, Bill code: |
|
|
|
|
|
#2 |
|
Major Dude
Join Date: Oct 2006
Posts: 1,892
|
Please use http://nsis.pastebin.com to paste large amounts of code.
You can create a custom page to show checkboxes. See the nsDialogs readme. Try searching for 'add remove programs' to get info on the registry keys you need to set to add publisher name. |
|
|
|
|
|
#3 |
|
Junior Member
Join Date: Aug 2010
Location: Tucson, AZ
Posts: 4
|
I've just spend 3 days (on and off) digging into the documentation and now have everything doing exactly what I want with only one exception. This is that the desktop icon still doesn't appear as an option with a checkbox, but the start menu words as expected. So how do I get the desktop icon to be an optional install for the user?
Thanks, Bill code: |
|
|
|
|
|
#4 |
|
Senior Member
Join Date: Mar 2006
Location: Dallas
Posts: 462
|
Section /o "Start Menu Shortcuts"
|
|
|
|
|
|
#5 |
|
Junior Member
Join Date: Aug 2010
Location: Tucson, AZ
Posts: 4
|
|
|
|
|
|
|
#6 |
|
Senior Member
Join Date: Nov 2005
Posts: 115
|
You use Section /o but you also need to put the desktop shortcut command in its own section.
|
|
|
|
|
|
#7 |
|
Junior Member
Join Date: Aug 2010
Location: Tucson, AZ
Posts: 4
|
|
|
|
|
|
|
#8 |
|
Major Dude
Join Date: Oct 2006
Posts: 1,892
|
You could have found that in the manual.
http://nsis.sourceforge.net/Docs/Chapter4.html#4.6.1.2 |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|