Excuse me. I have searched the forum but cannot find answer. So I post here.
It seems installer.ini only support one OptionalComponent.
[OptionalComponents]
OptionalComponents=true
OptionalSectionTitle=XXX
Is it possible add more Optional Components without modifying the .nsi file?
Like: OptionalSectionTitle2=XXX OptionalSectionTitle3=XXX ,etc...
Thanks!
It doesn't. Note that the optional component is primarily for dealing with multilingual files so that a smaller installation can be made for users who only want English. Currently the only exceptions are BPBible, where it is used for some resources, and fre:ac and CDEx, where it is used for including LAME.
What are you trying to achieve?
I am a Christian and a developer and moderator here.
“A soft answer turns away wrath, but a harsh word stirs up anger.” – Proverbs 15:1
Hi.
English speaking users only want English. Non-English speaking users may only want their language. So maybe it's necessary to add multi optional components support in the future?
As portableapps.com installer handle some user defines as loop (For example, PreserveDirectory[1-10]). Maybe it's possible to support OptionalSectionTitle[1-10] in the future?
Sorry about my English. I hope you understand what I said.
It's not planned at all at present. The savings are rarely significant, anyway.
I am a Christian and a developer and moderator here.
“A soft answer turns away wrath, but a harsh word stirs up anger.” – Proverbs 15:1