Archive: I want this in my installer


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



SubSection "MPC"
Section ""
; default
SectionEnd
Section /o "Set Ogm"

SectionEnd
Section /o "Set Mkv"

SectionEnd
SubSectionEnd

Or I don't right?

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


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 Verburg
What doesn't work? That code is totally correct.
Yes, code correct but this trully not work

I can write
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 Verburg
You should put it in one of the sections. A SubSection is only a group of sections.
How? Can you write example code?

Calm down I got it


Originally posted by VegetaSan
Calm down I got it
How?

A SubSection is a group of sections. You should put the code in one of the sections inside the SubSection.


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.

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


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.

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.


Then you should make the MP3 section read-only.


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.