- NSIS Discussion
- I want this in my installer
Archive: I want this in my installer
VegetaSan
25th February 2004 22:34 UTC
I want this in my installer
I want this in my installer
ö = selected
o = not selected
I want this
ö Media Player Classic
.....o Set Ogm
.....o Set Mkv
In other words how do I set the Subsection selected and all the sections inside it not selected ???
Thanks, VegetaSan
KirillKr
25th February 2004 22:42 UTC
SubSection "MPC"
Section ""
; default
SectionEnd
Section /o "Set Ogm"
SectionEnd
Section /o "Set Mkv"
SectionEnd
SubSectionEnd
Or I don't right?
VegetaSan
25th February 2004 22:56 UTC
nope it doenst work
Joost Verburg
25th February 2004 23:15 UTC
What doesn't work? That code is totally correct.
VegetaSan
25th February 2004 23:20 UTC
Nope it display this.....
____________________
ö = selected
o = not selected
____________________
o MPC
....o Set Ogm
....o Set Mkv
And I want this......
ö Media Player Classic
....o Set Ogm
....o Set Mkv
Joost Verburg
25th February 2004 23:23 UTC
You don't seem to get the whole idea of a tree. If none of the sections of the MPC category is selected MPC itself won't be selected too.
KirillKr
25th February 2004 23:24 UTC
Originally posted by Joost Verburg
What doesn't work? That code is totally correct.
Yes, code correct but this trully not work
KirillKr
25th February 2004 23:29 UTC
I can write
File ...
in SubSection?
KirillKr
25th February 2004 23:31 UTC
Not, I can't :-(
Joost Verburg
25th February 2004 23:31 UTC
You should put it in one of the sections. A SubSection is only a group of sections.
KirillKr
25th February 2004 23:40 UTC
Originally posted by Joost Verburg
You should put it in one of the sections. A SubSection is only a group of sections.
How? Can you write example code?
VegetaSan
25th February 2004 23:48 UTC
Calm down I got it
KirillKr
26th February 2004 00:01 UTC
Originally posted by VegetaSan
Calm down I got it
How?
Joost Verburg
26th February 2004 10:56 UTC
A SubSection is a group of sections. You should put the code in one of the sections inside the SubSection.
KirillKr
26th February 2004 22:34 UTC
Originally posted by Joost Verburg
A SubSection is a group of sections. You should put the code in one of the sections inside the SubSection.
Sorry, but I don't understand how I made this, which author's topic drowing his question.
VegetaSan
27th February 2004 00:12 UTC
Look I allread have it :
SubSection "MPC"
Section
Setoutpath $SYSDIR
File /a "D:\MPC\mplayercXP.exe"
SectionEnd
Section /o "Set Ogm"
SectionEnd
Section /o "Set Mkv"
SectionEnd
SubSectionEnd
KirillKr
27th February 2004 07:34 UTC
Originally posted by VegetaSan
Look I allread have it :
SubSection "MPC"
Section
Setoutpath $SYSDIR
File /a "D:\MPC\mplayercXP.exe"
SectionEnd
Section /o "Set Ogm"
SectionEnd
Section /o "Set Mkv"
SectionEnd
SubSectionEnd
It's work?
I test on my example:
I have 3 Section
I delete caption and name of first section
Append SubSection before first section and after last.
But SubSection not grayed.
Joost Verburg
27th February 2004 12:10 UTC
As I already told you, it makes no sense to have a category of different sections if they are all disabled.
KirillKr
27th February 2004 22:31 UTC
Ok. I understand you...
But one example and this topic may be closed.
o Codecs
....o Set Ogm
....o Set Mkv
And I want this......
ö Codecs
....o Set Ogm
....o Set Mkv
For example I want, that my installer install mp3 codec default in this SubSection. Yes I may write his in other invisible section, but I want install only, if Codecs selected and ogm or mkv or... may be selected or not.
Thats all. I havn't more questions. This only example.
Joost Verburg
27th February 2004 23:05 UTC
Then you should make the MP3 section read-only.
KirillKr
28th February 2004 22:00 UTC
Originally posted by Joost Verburg
Then you should make the MP3 section read-only.
Yes, but this showing. I want, that will be hidden.
Joost Verburg, ok, I understand ,than impossible. I'm not have more questions.