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
I want this in my installer
21 posts
Or I don't right?
SubSection "MPC"
Section ""
; default
SectionEnd
Section /o "Set Ogm"
SectionEnd
Section /o "Set Mkv"
SectionEnd
SubSectionEnd
nope it doenst work
What doesn't work? That code is totally correct.
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
____________________
ö = 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
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.
Originally posted by Joost VerburgYes, code correct but this trully not work
What doesn't work? That code is totally correct.
I can write
File ...
in SubSection?
File ...
in SubSection?
Not, I can't :-(
You should put it in one of the sections. A SubSection is only a group of sections.
Originally posted by Joost VerburgHow? Can you write example code?
You should put it in one of the sections. A SubSection is only a group of sections.
Calm down I got it
Originally posted by VegetaSanHow?
Calm down I got it
A SubSection is a group of sections. You should put the code in one of the sections inside the SubSection.
Originally posted by Joost VerburgSorry, but I don't understand how I made this, which author's topic drowing his question.
A SubSection is a group of sections. You should put the code in one of the sections inside the SubSection.
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
SubSection "MPC"
Section
Setoutpath $SYSDIR
File /a "D:\MPC\mplayercXP.exe"
SectionEnd
Section /o "Set Ogm"
SectionEnd
Section /o "Set Mkv"
SectionEnd
SubSectionEnd
Originally posted by VegetaSanIt's work?
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
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.
As I already told you, it makes no sense to have a category of different sections if they are all disabled.
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.
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.
Then you should make the MP3 section read-only.
Originally posted by Joost VerburgYes, but this showing. I want, that will be hidden.
Then you should make the MP3 section read-only.
Joost Verburg, ok, I understand ,than impossible. I'm not have more questions.