You are here

Multi OptionalComponents

4 posts / 0 new
Last post
david_pi
Offline
Last seen: 1 year 3 months ago
Joined: 2011-03-19 09:44
Multi OptionalComponents

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!

Chris Morgan
Chris Morgan's picture
Offline
Last seen: 8 years 10 months ago
Joined: 2007-04-15 21:08
No

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

david_pi
Offline
Last seen: 1 year 3 months ago
Joined: 2011-03-19 09:44
Hi. English speaking users

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. Biggrin

Chris Morgan
Chris Morgan's picture
Offline
Last seen: 8 years 10 months ago
Joined: 2007-04-15 21:08
Not planned

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

Log in or register to post comments