hide program modules in Custom Install panel of Windows installer

We all know that LibreOffice is not a suite of six office applications,
Writer, Calc, Draw, Impress, Math and Base. LibreOffice is more or less
monolithic. Yet, for marketing reasons probably, Windows installer
offered the option to de-select any of the six applications. From
the technical point of view, it did not make much sense. The saved disk
space was negligible. On the other hand many issues could occur.
For example fdo#67130, LibreOffice cannot start if LibreLogo is
installed while Writer is not, or fdo#70226, Writer crashes when
bibliography database is selected, when Base isn't installed.

We need less complexity, fewer options. It is hard to imagine a user
who insists on having just Writer and Calc but not Impress and Draw,
etc. The new start center BTW does not make starter icons inactive
for not installed applications.

Change-Id: I4d486f0d59c393bfe08ea3a69e51cc32b751f130
Reviewed-on: https://gerrit.libreoffice.org/6235
Reviewed-by: Tor Lillqvist <tml@collabora.com>
Tested-by: Tor Lillqvist <tml@collabora.com>
This commit is contained in:
Andras Timar 2013-10-12 12:02:38 -07:00 committed by Tor Lillqvist
parent 2b0320da7b
commit 32bbc8d9d8

View file

@ -106,8 +106,8 @@ sub get_feature_display
# Special handling for language modules. Only visible in multilingual installation set
if (( $styles =~ /\bSHOW_MULTILINGUAL_ONLY\b/ ) && ( ! $installer::globals::ismultilingual )) { $display = "0"; }
# Special handling for c05office. No program module visible.
if (( $onefeature->{'gid'} eq "gid_Module_Prg" ) && ( $installer::globals::product =~ /c05office/i )) { $display = "0"; }
# No program module visible.
if ( $onefeature->{'gid'} eq "gid_Module_Prg" ) { $display = "0"; }
# making all feature invisible in Language packs and in Help packs!
if ( $installer::globals::languagepack || $installer::globals::helppack ) { $display = "0"; }