- NSIS Discussion
- Startmenu group
Archive: Startmenu group
R@m00n
4th October 2002 09:50 UTC
Startmenu group
Hi,
the actual NSIS 2 CVS is very good.
The new features are useful. (Mulitlanguage, Modern UI) :up:
But we really need the ability to select a startmenu group in the setup now. Each setup has it, but not NSIS. :confused:
It shouldn't be very difficult to create a selection like the one used in WISE Setup (look at the attached file from Opera Setup).
I created s.th. like this in 1.98 and it worked a bit (before learning C++). But I haven't managed to insert a new dialog and so it was useless. But if you can insert a new dialog and all routines to create and destroy it then I can perhaps implent this feature again. :D
I posted a poll if the users need this feature. (I hope this'll work)
Ramon
R@m00n
4th October 2002 09:55 UTC
I forgot the attachment. Here it is.
rainwater
4th October 2002 12:23 UTC
This could be done with InstallOptions plus a small dll that loops through the startmenu directory. If you want I could write one up.
Smile2Me
4th October 2002 13:16 UTC
I already created this, see the site of SunJammer (Ximon).
[edit]
Check it out here.
It has been written in NSIS 1.98 and might need some changes to be compiled in NSIS 2.0ax but I did not check that.
[/edit]
-Hendri.
R@m00n
4th October 2002 13:53 UTC
Hi,
this looks good but it should be included in NSIS.
I think more than 50% need a dialog like this.
Or it should be a plugin without the IO dialog, only a single DLL file.
Perhaps someone can do s.th. like this.
Ramon
Smile2Me
4th October 2002 13:57 UTC
I guess that would increase the size of every installer, no matter you use it or not. In the current system you can choose to increase the size or not. I would prefer that.
Or it should be possible to delete the resources when you dont need them. But then a lot of things should be included. Backgrounds, flash pictures etc... Let's leave it to KiCHiK and Justin then :)
-Hendri.
rainwater
4th October 2002 16:00 UTC
I think it would be harder to put into NSIS than you think. A lot of scripts would be broken that write to the startmenu. Because then, it would be customizable, so it wouldn't know where to write it. What about the uninstaller? You would have to store the Folder Name in the registry. Plus, is it really necessary for the user to choose the name of the Start Menu group? For most installers no.
sdbarker
4th October 2002 19:13 UTC
To partially play devil's advocate here, nobody really seemed to care about breaking installers previously to add features that were wanted. What's the issue with doing it again? This project is under active development, and it's expected that things are going to change. For people that want something set and stable, they should be using 1.98.
-Scott
Joost Verburg
4th October 2002 19:28 UTC
The main point is that we don't want to make NSIS larger adding a feature that many people won't use. There are so many other things that could have been integrated, but using Extension DLL's is really better.
kichik
4th October 2002 19:30 UTC
Will it satisfy everyone if I write a simple, small DLL that pops back the user's choice?
R@m00n
4th October 2002 19:51 UTC
Hi kichik,
this would be good.
Create the DLL and a sample.
Ramon
kichik
8th November 2002 17:30 UTC
Done. Find it in the latest CVS version.
R@m00n
8th November 2002 17:41 UTC
I had a short look at it.
Looks great. I'll take a look into it tomorrow.
Thanks
Ramon
R@m00n
8th November 2002 18:11 UTC
HI kichik,
I looked at StartMenu.dll and found a bug:
- If I show a MessageBox in the Example when the user
pressed cancel instead of the Quit-Command, then I get
the MessageBox but the dialog is empty. If I select No
then I come to the Directory-selection page.
Ramon
kichik
8th November 2002 18:20 UTC
There is no cancel confirm. When it returns cancel it means cancel, if you want to show it again call the function again.
kichik
9th November 2002 12:54 UTC
Added /lastused so StartMenu will remember the last selection, see Example.nsi.
And, as stated in the NSIS 2 thread StartMenu now uses NSIS cancel confirm.
Joost Verburg
9th November 2002 18:51 UTC
The new Modern UI also has macro's for a Start Menu selection-page.
For an example, have a look at Examples\Modern UI\StartMenu.nsi
Mottel
10th November 2002 08:58 UTC
Startmenu folder choice Not necessary
My 2 cents worth :
Going by my own experience (as a user), I don't see the need for it.
EVERY time I install a product, even when the choice is offered, I couldn't be bothered choosing at that time. I just let the installer put it where it wants, then, if I want to, I later reorganise it myself manually. I think if a user really cares about where it goes, they've probably taken the trouble to learn how to reorganise their startmenu programs. In fact, I actually prefer doing it that way. If I later move it myself from where the installer put it, the uninstaller can't remove the shortcuts when I uninstall the product. Then, I at least have a reminder left over about what was there (and where it was installed) even after it's gone, in case I want to reinstall it or something.
R@m00n
11th November 2002 18:53 UTC
Hi kichik,
the /checknoshortcuts is good
But If you select this, than the selection should be disabled.
Ramon
kichik
12th November 2002 18:01 UTC
Done.
amdlotf
13th November 2002 13:12 UTC
Nice
It is very nice to be org.
so be it
kichik
13th November 2002 17:43 UTC
Org as in organization, original or something else?